Web application focused on blindfold chess training. It provides tactics and games to improve your board visualization.
All tactics puzzles are imported from lichess.
The application is available at https://blindtactics.com
- Games
- Tactics where you'll have to mentally follow a series of moves before solving the position.
- Given a position without a board, find all the possible checks.
- Enumerate all the shortest knight paths between two squares.
- Given a set of pieces find the squares that are attacked by all.
With more to come!
The application consists of the single-page frontend app and the backend server.
You'll need nodejs and yarn/npm installed.
cd ui
yarn install
yarn run bundle
The static files will be located at ui/dist
.
You'll need rustc and cargo installed. Both can be installed through rustup.
cargo build --release
The binary can be found at ./target/release/server
.
Now we can start the server and make it load the frontend application with the following command:
./target/release/server -s ./ui/dist
Note that you'll also need to provide the necessary environment variables (found
in docker-compose.yml
) to establish connectivity with the postgres database.
Alternatively you can use the pre-built docker image (mujx/blind:latest
) with
the docker-compose file to spin up the whole system.
docker-compose up
The app will be available at http://localhost:9999
- Download the csv file from the puzzles page.
- Use the server cli arguments to load them to the database
./server --puzzles-file puzzles.csv
- You can re-run the above command to refresh your puzzle database.
Any kind of contribution is greatly appreciated. This could be:
- Bug fixes
- Suggesting/Implementing new features
- UI/UX improvements/suggestions
- Code refactoring