mirror of
https://github.com/tiyn/yeschess.git
synced 2026-02-22 10:34:47 +01:00
visibility: use include in tests and only set needed functions as public
This commit is contained in:
@@ -15,7 +15,7 @@ proc runGameHotseat*(): void =
|
||||
while not chess.checkedMove(notationToMove(move, chess.toMove)):
|
||||
move = readLine(stdin)
|
||||
chess.echoBoard(chess.toMove)
|
||||
if (chess.isDrawClaimable):
|
||||
if (chess.isDrawClaimable()):
|
||||
echo "Do you want to claim a draw? (y/N)"
|
||||
draw = readLine(stdin)
|
||||
if (draw == "y"):
|
||||
|
||||
Reference in New Issue
Block a user