summaryrefslogtreecommitdiff
path: root/views/create.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-01 15:02:17 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-01 15:02:17 +0200
commit758043c4275498c94eeed26213536052349dd449 (patch)
tree7f0364552138b2fd148b4140f0faeb10b2681612 /views/create.pug
parenta07c8e521a06ec7228edba8ca65c6ec9b81a1f7e (diff)
downloadserver-758043c4275498c94eeed26213536052349dd449.tar.gz
Add "snapshot" replay view during play.
Snapshots store game state without undo and only log length. Combined with the final game state's log we can recreate the view from any snapshot quickly. Move replay code into separate script file, loaded only when used. Prefix system "setup", "resign", and "restore" actions with a period.
Diffstat (limited to 'views/create.pug')
0 files changed, 0 insertions, 0 deletions