]> git.cworth.org Git - lmno.games/commitdiff
Expect defailed error message from the server when rejecting a move
authorCarl Worth <cworth@cworth.org>
Wed, 3 Jun 2020 22:21:36 +0000 (15:21 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 3 Jun 2020 22:21:36 +0000 (15:21 -0700)
The server was recently augmented to not simply say 'false' for an
illegal move, but to instead say something like:

{"legal": false, "message": "Square already occupied"}

So we plumb the server-provided message out to the user in the case of
any illegal move.


No differences found