This is the final project for the Encode Club EVM certification. Players commit their moves on the blockchain using the commit-reveal pattern, ensuring fairness and transparency.
- Node.js
- yarn
- Metamask
-
Clone the repository:
git clone https://github.com/EncodeClub-EVMBootcamp-G7/Final-Project.git cd Final-Project
-
Install dependencies:
yarn install
-
Start the frontend:
yarn start
-
Open your browser and navigate to
http://localhost:3000
to play the game.
Players first commit their moves (rock, paper, or scissors) on the blockchain by hashing their move with a secret. Once both players have committed, they reveal their moves. The game logic then determines the winner based on the revealed moves.
This project is licensed under the MIT License.