Skip to content

A demo React app combining the Chessground and chess.js libraries.

License

Notifications You must be signed in to change notification settings

mganjoo/react-chessground-chessjs-demo

Repository files navigation

React Chessground + Chess.js demo

A simple chess demo app that uses the Chessground library for the UI and chess.js for gameplay logic.

  • Uses React hooks and functional components throughout.
  • Strongly typed using TypeScript.
  • Uses Tailwind for styling.

This project was bootstrapped with Create React App.

Demo app

Demo app available at https://mganjoo.github.io/react-chessground-chessjs-demo/.

Available Scripts

In the project directory, you can run:

npm start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run prepare

Set up husky git hooks for linting and Prettier.

About

A demo React app combining the Chessground and chess.js libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published