Skip to content

abhithory/chess-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Chain

Chess Chain is a blockchain-based chess platform that combines the excitement of chess with the power of blockchain technology. Stake tokens, challenge opponents, and immortalize your moves as NFTs.

Project Links

Project Video

chesschain.mp4

Features

  • Create matches and stake tokens
  • Invite opponents using match IDs
  • Real-time gameplay with WebSocket communication
  • Winner takes the staked amount and receives a unique NFT
  • Store game details, match history, and NFTs on the Fantom blockchain

Repository Structure

  • frontend/: Contains the Next.js frontend application built with Tailwind CSS.
  • backend/: Includes the Node.js backend server developed with Express.js and WebSocket integration.
  • smart-contracts/: Contains the Solidity smart contracts deployed on the Fantom blockchain.

Getting Started

Frontend

  1. Navigate to the frontend/ directory.
  2. Install dependencies: npm install.
  3. Start the development server: npm run dev.

Backend

  1. Navigate to the backend/ directory.
  2. Install dependencies: npm install.
  3. Start the backend server: npm start.

Smart Contracts

  1. Navigate to the smart-contracts/ directory.
  2. Configure your Fantom network settings in hardhat-config.js.

Contribution

Contributions to Chess Chain are welcome! Feel free to open issues and submit pull requests for any enhancements or bug fixes.

Screenshot from 2023-11-28 02-59-43