Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/encodeclub-evmbootcamp-g7/final-project
https://github.com/encodeclub-evmbootcamp-g7/final-project
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/encodeclub-evmbootcamp-g7/final-project
- Owner: EncodeClub-EVMBootcamp-G7
- License: mit
- Created: 2024-12-14T21:28:52.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-12-14T21:41:30.000Z (20 days ago)
- Last Synced: 2024-12-14T22:19:44.400Z (20 days ago)
- Language: TypeScript
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Rock Paper Scissors Game 🎮
![Logo](packages/nextjs/public/images/logo-rps.png)
## Description
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.## Setup Instructions
### Prerequisites
- Node.js
- yarn
- Metamask### Installation
1. Clone the repository:
```sh
git clone https://github.com/EncodeClub-EVMBootcamp-G7/Final-Project.git
cd Final-Project
```2. Install dependencies:
```sh
yarn install
```3. Start the frontend:
```sh
yarn start
```4. Open your browser and navigate to `http://localhost:3000` to play the game.
## Game Preview
## How it Works
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.![Workflow](packages/nextjs/public/screenshots/4.png)
![Workflow](packages/nextjs/public/screenshots/5.png)
![Workflow](packages/nextjs/public/screenshots/2.png)
![Workflow](packages/nextjs/public/screenshots/3.png)## License
This project is licensed under the MIT License.