Implemented validMove detection and moves in the GameState