]> git.cworth.org Git - lmno-server/commitdiff
Properly JSON-stingify move before broadcasting it
authorCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 15:47:27 +0000 (08:47 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 6 Jun 2020 15:47:27 +0000 (08:47 -0700)
With the Tic Tac Toe game, this bug was hidden, (since the move data
is just an integer and there's no difference in strignifying that or
not). But an upcoming game (Scribe) uses a pair of integers, and
there's a lot of difference between "1,2" and "[1,2]" since only the
latter is proper JSON.


No differences found