src/chess/rules.h

changeset 63
611332453da0
parent 61
e3a1a794351e
child 69
c8f2c280cff7
--- a/src/chess/rules.h	Tue Aug 28 15:56:33 2018 +0200
+++ b/src/chess/rules.h	Wed Aug 29 13:45:13 2018 +0200
@@ -112,6 +112,7 @@
     Board board;
     MoveList* movelist;
     MoveList* lastmove;
+    unsigned int movecount; /* number of (half-)moves (counting BOTH colors) */
     _Bool checkmate;
     _Bool stalemate;
     _Bool remis;

mercurial