aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2021-04-26 17:59:22 +0100
committerSimon Tatham <anakin@pobox.com>2021-04-26 18:05:09 +0100
commit091bef1a8264b677d711f2de1e765035d3d0e3c5 (patch)
tree208b83601e0d1841c439cd726cc15a16f011cd44
parentf2f39af2d3ca27ee9aa2e284896efa07f5df5f02 (diff)
downloadpuzzles-091bef1a8264b677d711f2de1e765035d3d0e3c5.zip
puzzles-091bef1a8264b677d711f2de1e765035d3d0e3c5.tar.gz
puzzles-091bef1a8264b677d711f2de1e765035d3d0e3c5.tar.bz2
puzzles-091bef1a8264b677d711f2de1e765035d3d0e3c5.tar.xz
Mosaic: implement game_status.
-rw-r--r--mosaic.c2
1 files changed, 2 insertions, 0 deletions
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;
}