Mercurial > hg > rlgwebd
diff index-rlg.html @ 40:f7116eb3f791
rlgwebd.js: refactor some game-starting code.
Separate things like checking for games in progress, starting a new
game, and figuring out where the lockfile and ttyrec should go. This
allows e.g. the games-in-progress check to be used to create status
messages. It also keeps the argument list for the TermSession
constructor to a sensible size.
author | John "Elwin" Edwards <elwin@sdf.org> |
---|---|
date | Fri, 08 Jun 2012 18:11:47 -0700 |
parents | e8ac0e3d2614 |
children | 1bbd0e76ba92 |