moved doMove to ChessBoard class