- Notifications
You must be signed in to change notification settings - Fork0
Improve your chess board visualization
License
mujx/blind.tactics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Web application focused on blindfold chess training. It provides tactics and games to improve yourboard visualization.
All tactics puzzles are imported fromlichess.
The application is available athttps://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 uiyarn installyarn run bundle
The static files will be located atui/dist
.
You'll need rustc and cargo installed. Both can be installed throughrustup.
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 thefollowing command:
./target/release/server -s ./ui/dist
Note that you'll also need to provide the necessary environment variables (foundindocker-compose.yml
) to establish connectivity with the postgres database.
Alternatively you can use the pre-built docker image (mujx/blind:latest
) withthe docker-compose file to spin up the whole system.
docker-compose up
The app will be available athttp://localhost:9999
- Download the csv file from the puzzlespage.
- 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
About
Improve your chess board visualization