]> git.cworth.org Git - empires-server/commitdiff
Generalize the handling of the /move request
authorCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 21:16:04 +0000 (14:16 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 21:20:38 +0000 (14:20 -0700)
Implementing it at the "lmno" level instead of in "tictactoe".

This means that future game implementations that involve clients
sending moves to the server (which, is obviously a common thing), can
simply implement an "add_move" method in the Game class at not need to
implement the route handler piece of things.


No differences found