inaimathi / strifebarge

an HTTP, multiplayer implementation of the classic Battleship game
GNU Affero General Public License v3.0
3 stars 0 forks source link

No Victory Condition #8

Open inaimathi opened 12 years ago

inaimathi commented 12 years ago

There should some explicit ways to win.

Ideally, these would be swappable so that different game types are possible.

inaimathi commented 12 years ago

Made a start on this. There's now a victory-p predicate in the codebase, but it isn't called anywhere yet. Not sure whether this should be managed as part of fire or by ticker. Once that's decided, that place should mark a game as finished, display the end game screen, record the game log, and possibly remove it from the game table as well.