f1cd36952b
Fix build errors in explorer
2024-02-25 09:52:49 -08:00
ed55eda901
Update the Cargo.toml files
2024-01-28 09:58:50 -08:00
569693bda9
Merge branch 'main' into rename-board-crate
...
# Conflicts:
# explorer/src/main.rs
2024-01-28 09:55:53 -08:00
8eb180df67
[explorer] Add fen and make commands
...
Clean up the implementation of the place command.
Track state with a State struct that contains a position and a builder. The place
command will place a new piece and then regenerate the position.
The make command makes a move. The syntax is:
make [color:w|b] [shape] [from square] [to square]
The fen command prints a FEN string representing the position.
2024-01-28 09:50:39 -08:00
66d03d3514
[board] Clean up a bunch of imports
2024-01-28 09:46:38 -08:00
76ac719418
[position] Rename the board crate → chessfriend_position in Cargo.toml
...
Rename the crate, but don't move any files.
2024-01-28 09:40:45 -08:00
a73355c769
[explorer] Track result of command with a CommandResult type, and overall state with a State type
2024-01-24 17:16:33 -08:00
d901be53d2
[explorer] Depends on core
2024-01-24 09:15:18 -08:00
7071f6a742
[board] Cave to pressure and implement fmt::Display for Position
...
It prints a nice diagram!
Now I can make the position module private.
2024-01-19 18:12:28 -08:00
f340578cf2
[explorer] A REPL-style command line app to fiddle with chess boards
...
Build a REPL that enables placing pieces on a chess board. Nothing else so far!
2023-12-28 15:09:15 -07:00