diff -r 39aa77b7188b -r 93c81539b702 src/chess/rules.h --- a/src/chess/rules.h Sun Aug 23 11:38:27 2026 +0200 +++ b/src/chess/rules.h Sun Aug 23 12:19:05 2026 +0200 @@ -106,14 +106,14 @@ } Move; typedef struct { - uint8_t servercolor; - /** 1: play with timecontrol, 0: play without time control */ - uint8_t timecontrol; - /** If timecontrol is 1, initial clock time in seconds */ + Color servercolor; + /** play with timecontrol? */ + bool timecontrol; + /** If timecontrol is true, initial clock time in seconds */ uint16_t time; - /** If timecontrol is 1, time added per move in seconds */ + /** If timecontrol is true, time added per move in seconds */ uint16_t addtime; - /** If timecontrol is 1, delay before the clock starts ticking down */ + /** If timecontrol is true, delay before the clock starts ticking down */ uint16_t delay; } GameInfo;