Batleship is a strategy board game built on the Ethereum blockchain, using zero knowledge proof for validating moves and detecting fowl plays.
- Secured using Zero Knowledge Proofs.
- Upgradable Game Logic Contract
- Automatic fowl play detection
Blockchain Battleship uses a number of open source projects to work properly:
- Truffle - A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
Install truffle globally
npm i -g truffle
compile the contracts
cd battleship-smartcontracts
truffle compile
run tests
cd battleship-smartcontracts
truffle test
SPDX