A Solidity smart contract for playing a game where ships can move around a grid and fire at eachother to rack up hits.
To build, use this Foundry forge
command:
$ forge build
If you don't have Foundry, you can get it by following the instructions here under the "Use Foundryup" section. Namely:
- Run
curl -L https://foundry.paradigm.xyz | bash
in your terminal. - Run
foundryup
in your terminal.