I wrote a program that lets you play text-only blindfold chess against Stockfish : chess

0
9
I wrote a program that lets you play text-only blindfold chess against Stockfish : chess


Edit: I’ve added an option to only show the last move.

I’ve written a chess game which is played in the console where you play a text-based chess game against stockfish. I’m hoping to use it to practice my blindfold chess.

Here’s an example playthrough:

Welcome to Blindfold Chess
Play as (w)hite, (b)lack, (r)andom: w
You are playing as White.
Enter difficulty level (1 to 10): 1
Level 1 difficulty chosen.
Type 'board' at any time to see the current board.
Type 'moves' at any time to see the legal moves.
---
Game begins.
Enter move: e4
White (Player) moves e4
Black (Engine) moves e6
Enter move: d4
White (Player) moves d4
Black (Engine) moves d5
Enter move: exd5
White (Player) moves exd5
Black (Engine) moves exd5
Enter move: Nc3
White (Player) moves Nc3
Black (Engine) moves Nf6
Enter move:

As you can see it asks for a move, gives the computer move, then continues on like this until the game ends. It’s a very simple program but I think it should be useful for training your chess vision with blindfolded games.

There’s also a board command which shows the current board state and a moves command which shows the list of legal moves.

You can download the Windows release here: https://github.com/sgriffin53/blindfold_chess/releases/tag/1.0

Or if you want to run the python script directly, the source is here: https://github.com/sgriffin53/blindfold_chess/

There’s also a youtube video here which shows it running and the board/moves commands: https://www.youtube.com/watch?v=TNGGYuxPbyE

My plan for my own use with this is to play blindfold games, checking the board state whenever I need to, and record the number of times I check the board state each game and hopefully bring the times I check it down until I can play a full blindfolded game.

If you try it out, let me know what you think, and if you have any suggestions. Thanks.



Source link