Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Improve your chess board visualization

License

NotificationsYou must be signed in to change notification settings

mujx/blind.tactics

Repository files navigation

ciDocker Image Version (latest by date)

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

Features

  • 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!

Build

The application consists of the single-page frontend app and the backend server.

Frontend

You'll need nodejs and yarn/npm installed.

cd uiyarn installyarn run bundle

The static files will be located atui/dist.

Server

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.

Docker

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

⚠️ At the current stage, the SQL schema and the puzzle import will have tobe done manually.

Import lichess puzzles

  1. Download the csv file from the puzzlespage.
  2. Use the server cli arguments to load them to the database
./server --puzzles-file puzzles.csv
  1. You can re-run the above command to refresh your puzzle database.

Contributing

Any kind of contribution is greatly appreciated. This could be:

  • Bug fixes
  • Suggesting/Implementing new features
  • UI/UX improvements/suggestions
  • Code refactoring

[8]ページ先頭

©2009-2025 Movatter.jp