- AI Opponents: Play against AI of different skill levels, powered by the Lichess API
- Game Duration: Choose limited or unlimited game
- Move History: See all game moves
- Interactive chessboard: Move pieces by drag-and-drop or click
- Flip the Board: Change the board orientation
appdemo.mp4
- Vite - Build tool
- React - Framework
- TypeScript - Language
- Jest - Testing environment
- React Chessboard - Chessboard library
You need Node.js (version >= 18) to run the project.
git clone https://github.com/OlegDev1/Chess-ai-game.git
cd Chess-ai-game
npm install
nano .env
npm run dev
Visit http://localhost:5173/Chess-ai-game/ in your browser
You can run jest tests for the app with the following command
npm test