fixed bug in Board.endturn()