chiark / gitweb /
Add a function to every game backend which indicates whether a game
authorSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2011 16:19:12 +0000 (16:19 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 2 Apr 2011 16:19:12 +0000 (16:19 +0000)
commit980880be1f2801b2a69fcc67abc0f5827fd106f2
treea500e629474755854d638bb21bcac4c3428f0707
parent8c6c8df8f4bd07602931485956fce524925dc2bb
Add a function to every game backend which indicates whether a game
state is in a solved position, and a midend function wrapping it.

(Or, at least, a situation in which further play is pointless. The
point is, given that game state, would it be a good idea for a front
end that does that sort of thing to proactively provide the option to
start a fresh game?)

[originally from svn r9140]
42 files changed:
blackbox.c
bridges.c
cube.c
devel.but
dominosa.c
fifteen.c
filling.c
flip.c
galaxies.c
guess.c
inertia.c
keen.c
lightup.c
loopy.c
magnets.c
map.c
midend.c
mines.c
net.c
netslide.c
nullgame.c
pattern.c
pegs.c
puzzles.h
range.c
rect.c
samegame.c
signpost.c
singles.c
sixteen.c
slant.c
solo.c
tents.c
towers.c
twiddle.c
unequal.c
unfinished/group.c
unfinished/pearl.c
unfinished/separate.c
unfinished/slide.c
unfinished/sokoban.c
untangle.c