Skip to content

nikilok/react-hooks-chessboard

Repository files navigation

React Chess

React chess is a chess board UI build using React Hooks. It is built on top of chess.js which handles move validations, move states etc.

In order to run this you will need to also setup the server side project located here. https://github.com/nikilok/chess-express-socketio

You can open two seperate browsers on the same machine and queue up for a game to enter the chess board. Incognito mode won't help queue up for games from the same browser as I fingerprint the browser to establish user uniqueness.

Pawn Promotion UI

Support for board orientation

Modern Theme

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
Open http://localhost:5173 to view it in the browser.

yarn build

Creates a production build

Built Tool

This project uses Vite for build.