A game inside a smart-contract deployed on Scroll and use zero-knowledge proofs
A simple and well-known tic-tac-toe game for geeks. This idea was born out of a desire to create a completely decentralized game. It is a prototype, but placed in a smart contract and independent of its creator. Players interact with the contract one at a time. Each player makes a deposit of 0.01 ether. The winner takes the entire deposit. Players receive feedback on errors in the smart contract.
The project is fully built on Solidity 0.8.21 and tested on Foundry. The Scroll blockchain was chosen to maintain zero-knowledge proofs. The smart contract is completely independent of the creator, the creator of the contract does not take any commission. Only two users can play at the same time.