From 091bef1a8264b677d711f2de1e765035d3d0e3c5 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 26 Apr 2021 17:59:22 +0100 Subject: [PATCH] Mosaic: implement game_status. --- mosaic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mosaic.c b/mosaic.c index 8294f84..15aa96d 100644 --- a/mosaic.c +++ b/mosaic.c @@ -1523,6 +1523,8 @@ static float game_flash_length(const game_state *oldstate, static int game_status(const game_state *state) { + if (state->not_completed_clues == 0) + return +1; return 0; }