Skip to content

OlegDev1/Chess-ai-game

Repository files navigation

Chess AI Game

Play chess against different AI levels, with easy to understand interface

License

Features

  • 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

Demo

appdemo.mp4

Tech Stack

Getting started

Prerequisites

You need Node.js (version >= 18) to run the project.

1. Clone the repository

git clone https://github.com/OlegDev1/Chess-ai-game.git
cd Chess-ai-game

2. Install npm dependencies

npm install

3. Change the environment variables if needed

nano .env

4. Run the dev server

npm run dev

5. Open the app in your browser

Visit http://localhost:5173/Chess-ai-game/ in your browser

6. Run tests if needed

You can run jest tests for the app with the following command

npm test