chiark / gitweb /
Introduce routines in each game module to encode a set of game
authorSimon Tatham <anakin@pobox.com>
Wed, 19 May 2004 11:57:09 +0000 (11:57 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 19 May 2004 11:57:09 +0000 (11:57 +0000)
commit350683b25371ec6a7548b2e83b2be15eb629815f
tree99e1103fd09c1e6ed73df97d33c0ae8c101564f0
parentba076fbdb26149d39e076e161ace330149e71b30
Introduce routines in each game module to encode a set of game
parameters as a string, and decode it again. This is used in
midend.c to prepend the game parameters to the game seed, so that
copying out of the Specific box is sufficient to completely specify
the game you were playing.
Throughout development of these games I have referred to `seed'
internally, and `game ID' externally. Now there's a measurable
difference between them! :-)

[originally from svn r4231]
cube.c
fifteen.c
midend.c
net.c
nullgame.c
puzzles.h
rect.c
sixteen.c