]> git.cworth.org Git - lmno-server/commitdiff
Add a minimal implementation of the TicTacToe game engine
authorCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 04:01:13 +0000 (21:01 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 27 May 2020 16:47:56 +0000 (09:47 -0700)
This implements a /move endpoint to allow clients to send moves to the
server and an /events endpoint for the server to broadcast the moves
to all connected clients.

This TicTacToe class has some duplicated code from the empires Game
class. We should refactor this to have a common parent class to reduce
duplication.


No differences found