Skip to content

EncodeClub-EVMBootcamp-G7/Final-Project

Repository files navigation

Rock Paper Scissors Game 🎮

Logo

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:

    git clone https://github.com/EncodeClub-EVMBootcamp-G7/Final-Project.git
    cd Final-Project
  2. Install dependencies:

    yarn install
  3. Start the frontend:

    yarn start
  4. Open your browser and navigate to http://localhost:3000 to play the game.

Game Preview

Game Screenshot

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 Workflow Workflow Workflow

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published