fog-of-chess

[toy] Chess, but with the fog of war.
Log | Files | Refs

commit 051de2ca95516980da341100ada1db40bd5a4d9d
parent 516ee52526788de2e85db5951dc50921f67cef24
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date:   Thu, 26 Dec 2019 13:37:16 +1300

Clean: completed todo.

Diffstat:
Msrc/main.rs | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -235,10 +235,6 @@ impl Game { // Pawns can only attack diagonally in the direction of the // player. // Cannot attack straight ahead. - // TODO: Move up to 2 squares on first move. - // - Add `has_moved` state to each piece entity, or - // - Compare current position with original position to - // detect if this is the first move. Pawn => { let mut moves = vec![]; match player {