Keep track of promoted pieces and demote them when captured.
commit18423ffd410df5c55df7b613b2a18cdd2af0c64c
authorPaolo Capriotti <paolo@snare.(none)>
Sat, 15 Aug 2009 23:29:33 +0000 (16 01:29 +0200)
committerPaolo Capriotti <paolo@snare.(none)>
Sat, 15 Aug 2009 23:29:33 +0000 (16 01:29 +0200)
treec6b5611d276c3c6bcccccb4276b30d80d9d9a5b2
parentb0bb2a30831c353e1284cfb888ef20c5477a3781
Keep track of promoted pieces and demote them when captured.
lib/plugins/crazyhouse/crazyhouse.rb
lib/plugins/crazyhouse/lib/piece.rb [new file with mode: 0644]
lib/plugins/crazyhouse/lib/state.rb