Skip to content

Chess game built from scratch in reactJS. Supports online P2P, local gameplay and provides ready-to-use callback functions to support other online modes. Uses chess.js for verifying moves locally.

Notifications You must be signed in to change notification settings

amandhakad/react-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Chess (react-chess)

Building a chess game app using reactJS. Supports P2P online game, local game & provides boilerplate code for other online support.

So far done:

  • Online Random P2P - v1 (src/samples/p2p)
  • Local two player game (src/samples/local)
  • Online multiplayer support (src/samples/online-boilerplate)

Basic Features

  • Highlighting available moves
  • Flip the board option
  • Undo option for local games only

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need to have Node.js and npm installed on your machine. You can follow the instructions on the Node.js website.

Installing

  1. Clone the repository
git clone https://github.com/amandhakad/react-chessboard.git
  1. Install the dependencies
npm install
  1. Start the development server
npm start
  1. Open http://localhost:3000 in your browser

Built With

Authors

  • Aman Dhakad - Initial work - website

Acknowledgments

  • chess.js - The chess library used for validating moves and basically chess logics.

screenshot

About

Chess game built from scratch in reactJS. Supports online P2P, local gameplay and provides ready-to-use callback functions to support other online modes. Uses chess.js for verifying moves locally.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published