Moved executeMoveCommand to the game engine