Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.32 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.32 KB

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.