src/chess/rules.c

changeset 131
c33567d61ba7
parent 130
3fc6b1d6cbe9
equal deleted inserted replaced
130:3fc6b1d6cbe9 131:c33567d61ba7
920 return snprintf(str, 9, "%u:%02u:%02u", hours, minutes, seconds); 920 return snprintf(str, 9, "%u:%02u:%02u", hours, minutes, seconds);
921 } else { 921 } else {
922 return snprintf(str, 6, "%02u:%02u", minutes, seconds); 922 return snprintf(str, 6, "%02u:%02u", minutes, seconds);
923 } 923 }
924 } 924 }
925
926 bool check_threefold_repetition(GameState *gamestate) {
927 // TODO: implement threefold repetition detection
928 return false;
929 }

mercurial