5 Commits

Author SHA1 Message Date
b75ce34179 Add a completion flash when you get down to a single peg.
[originally from svn r6061]
2005-07-05 18:57:34 +00:00
b74dac6de2 Refactored the game_size() interface, which was getting really
unpleasant and requiring lots of special cases to be taken care of
by every single game. The new interface exposes an integer `tile
size' or `scale' parameter to the midend and provides two much
simpler routines: one which computes the pixel window size given a
game_params and a tile size, and one which is given a tile size and
must set up a drawstate appropriately. All the rest of the
complexity is handled in the midend, mostly by binary search, so
grubby special cases only have to be dealt with once.

[originally from svn r6059]
2005-07-05 18:13:31 +00:00
a4e3d69de2 James Harvey points out a missing ifdef.
[originally from svn r6058]
2005-07-05 12:03:56 +00:00
4bc951cebc Add WinHelp topic.
[originally from svn r6056]
2005-07-04 20:06:35 +00:00
97e93dbfff Peg Solitaire implementation, complete with a random board
generator. The generator is lacking in almost any kind of finesse,
but it produces puzzles which at least _I_ find plausibly puzzling.

[originally from svn r6052]
2005-07-04 19:42:55 +00:00