pollei / TicTacToe-java

TicTacToe game for SFCC CS141
GNU General Public License v3.0
0 stars 0 forks source link

WebGame can configure a newgame #6

Closed pollei closed 2 years ago

pollei commented 2 years ago

Using a game-id obtained from NewGame construct a POST fetch that can configure whether your symbol is an X or O, whether you go first or last, who your nemesis is. Nemesis should be one of the robots: Randy, Bob, or Emily. Design so that PvP (player vs. player) mediated via servlet could be added later. Depends on #5

pollei commented 2 years ago

https://github.com/pollei/TicTacToe-java/commit/64594d64261cf33a58307b84469ae65bfc274bc2 added code that allowed configing in the same POST fetch that creates a newgame. Probably good enough to do it in one fetch instead of two. closing.