Skip to content

Latest commit

 

History

History
103 lines (77 loc) · 2.38 KB

README.md

File metadata and controls

103 lines (77 loc) · 2.38 KB

Web3 Based Chess Game

Welcome to the Web3 Based Chess Game! This is a decentralized chess platform where users can play chess online, connect their Ethereum wallets, and stake ETH in games. Preview link

Features

  1. Home Screen: A sleek interface to navigate and choose your game mode.
  2. Bot Mode: Play against a computer bot with various difficulty levels.
  3. Online Mode: Connect with players worldwide, stake ETH, and play chess.
  4. Game Alerts: Intuitive alerts and notifications during game actions.
  5. Wallet Integration: Easily connect and manage your Ethereum wallet.

Preview

1. Home Screen

Home Screen Preview

2. Bot Mode

Bot Mode Preview

3. Game Created Alert

Game Created Alert Preview

4. Local Installation

Local Installation Preview

5. Local Run

Local Run Preview


Tech Stack

  • Frontend: React.js
  • Blockchain: Ethereum (Sepolia Testnet)
  • Smart Contracts: Solidity
  • Web3 Integration: Web3.js
  • Styling: Tailwind CSS

How It Works

Online Mode

  1. Connect your Ethereum wallet.
  2. Enter a stake amount (in ETH).
  3. Create or join a game with another player.
  4. Play chess and stake winnings!

Bot Mode

  1. Select difficulty level.
  2. Play chess against the computer bot.
  3. Practice and sharpen your chess skills.

Installation and Setup

  1. Clone the repository:
    git clone https://github.com/your-repository/online-chess-game.git
  2. Install dependencies:
    npm install
  3. Start the application:
    npm start

Issues and Contributions

Check the CONTRIBUTING.md file for detailed information on known issues and how you can contribute.


Testing

  1. Run the application locally:

    npm start
  2. Test key features:

    • Wallet connection
    • Game creation and alerts
    • Chess gameplay
  3. Run linting and tests:

    npm run lint
    npm test

Contact

For any queries or support, feel free to open an issue on GitHub or contact the project maintainer.


Happy Chess Gaming! 🏆