]> git.cworth.org Git - lmno-server/commit
scribe: Reject moves that are illegal by the move constraint
authorCarl Worth <cworth@cworth.org>
Mon, 6 Jul 2020 05:16:11 +0000 (22:16 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 6 Jul 2020 05:36:59 +0000 (22:36 -0700)
commit9c0ec54213a93d2b3552965a4bedccc0b7bd1e2c
tree351b1756eda085c27d72205f4ca08ed21972021e
parent4211c2a7e489cdccf085da7825030ad769f30304
scribe: Reject moves that are illegal by the move constraint

If the player has a previous move, (this isn't their first move of the
game), then the mini-grid being moved to must match the position
within the mini-grid of the previous move, (unless the indicated mini
grid is full).
scribe.js