]> git.sesse.net Git - remoteglot/commit
Remove the global move_num and toplay variables.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 27 Dec 2023 07:42:59 +0000 (08:42 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 27 Dec 2023 07:47:09 +0000 (08:47 +0100)
commit8dc489f7af399b9e1236595a6bff2ad36b3a0a69
tree6350a8b7f21f90935ff2199db49b49d298b6837c
parent6d6db16021d21be5661549fd855876a7ed6e2561
Remove the global move_num and toplay variables.

These are redundant from the FEN, and we would like to fix
so that we can use a different FEN in some cases, so remove
the (semi-)hidden dependency on the board state.
Position.pm
www/js/remoteglot.js