]> git.cworth.org Git - dvonn/commit
Enforce legal moves
authorCarl Worth <cworth@cworth.org>
Thu, 5 Mar 2009 16:50:59 +0000 (08:50 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 5 Mar 2009 16:50:59 +0000 (08:50 -0800)
commit74df2492e8c32df37d886dec4baf9344dc6b8cff
tree43a19f072198857295c75bd911c0aced87e55daa
parent1e29ece3252138d372b47499dd4c77f01413c7fc
Enforce legal moves

All the checks for legal moves are now enforced, (including not
even selecting a piece if it is surrounded). Basically all that's
missing now is elimination of disconnected pieces, (and the
ability to pass when there is no available move).
dvonn-board.c
dvonn-board.h
dvonn.c