fitztrev / patzer-gives-a-check

A chess training tool

Home Page:https://fitztrev.github.io/patzer-gives-a-check/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patzer Gives a Check

A chess training tool

https://fitztrev.github.io/patzer-gives-a-check

Setup

git clone git@github.com:fitztrev/patzer-gives-a-check.git
cd patzer-gives-a-check
npm install
npm run start

Re-generate puzzle data

A random subset of puzzles are taken from the Lichess database.

Download, extract, and place lichess_db_puzzle.csv in ./puzzle-data/.

python3 ./puzzle-data/generate.py

Deploy to Github Pages

npm run build
git subtree push --prefix dist origin gh-pages

To-Do

  1. Implement pawn promotion dialog. For example, when a pawn promotes and either a queen or rook can check:
    kr6/p5R1/q1p4p/4Q3/8/P6P/1P2p2P/K7 b - - 3 43
    
    Right now, puzzles with promotion are skipped.

Credits

Puzzles from Lichess database

Sound effects from Lichess puzzle storm

About

A chess training tool

https://fitztrev.github.io/patzer-gives-a-check/


Languages

Language:TypeScript 58.3%Language:HTML 27.4%Language:Python 7.3%Language:SCSS 7.0%