Skip to content

M4rcinWisniewski/chessgame-review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โ™Ÿ๏ธ Chess Evaluation App

An interactive full-stack chess analysis tool powered by Stockfish, FastAPI, and Next.js. Upload your PGN, and visualize the game with a real-time evaluation bar and board navigation โ€” like a lightweight version of Chess.comโ€™s Game Review.


๐Ÿš€ Features

  • ๐Ÿ” PGN parsing and move-by-move Stockfish evaluation
  • โ™Ÿ๏ธ Interactive chessboard using FEN positions
  • ๐Ÿ“Š Real-time evaluation bar synced with current move
  • โฉ Intuitive move navigation (forward/backward/skip)
  • ๐Ÿง  Displays player names, ELOs, and game result from PGN
  • โšก Clean and responsive UI with TailwindCSS

๐Ÿ˜ New

โœ… Stockfish analysis

โœ… Move classification (chess.com like):

  • Best move
  • Excellent move
  • Good move
  • Inaccuracy
  • Mistake
  • Blunder
Miss, Brilliant and Great moves soon to be added. Stay tuned! ๐Ÿคฉ

๐Ÿ“ฆ Setup

โœ… 1. Download Stockfish

Download from the official site:
๐Ÿ‘‰ https://stockfishchess.org/download/

Place the binary in:

./stockfish/stockfish.exe       # For Windows  
./stockfish/stockfish           # For Linux/Mac

Make it executable on Linux/Mac:

chmod +x ./stockfish/stockfish

โœ… 2. Backend (FastAPI)

cd backend python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt uvicorn main:app --reload

Runs at: http://localhost:8000

โœ… 3. Frontend (Next.js)

cd frontend npm install npm run dev

Runs at: http://localhost:3000 ๐Ÿงพ Project Structure

root/
โ”œโ”€โ”€ backend/           # FastAPI backend (game parsing, evaluation)
โ”‚    โ”œโ”€โ”€ stockfish/    # Stockfish binary here
โ”‚    โ””โ”€โ”€ ...
โ”œโ”€โ”€ frontend/          # Next.js frontend (UI, navigation, API calls)
โ””โ”€โ”€ README.md

๐Ÿ”ฎ Roadmap

๐Ÿ’ก Classification of Miss, Great and Brilliant moves

๐Ÿ’ก PGN file uploads

๐Ÿ’ก Highlight best move vs played move

๐Ÿ’ก Opening tree


๐Ÿค Contributing

Pull requests are welcome! Feel free to fork and build upon it.

๐Ÿ“„ License

MIT License. Use it, modify it, improve it โ€” just give credit.

๐Ÿ™Œ Credits

Stockfish Engine

UI: Next.js + TailwindCSS

Backend: FastAPI + python-chess

Built with โค๏ธ by Marcin Wiล›niewski โ€” because we love chess and code.

About

Wev application to analyse your chess game in a chesscom-like way for free ๐Ÿ˜๐Ÿ”ฅ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published