Game game = this.gameRepository.retrieve(gameId);
if (DoorStatus.SELECTED == status) {
game.select(doorId);
} else if (DoorStatus.OPEN == status) {
game.open(doorId);
} else {
throw new IllegalTransitionException(gameId, doorId, status);
}
return new ResponseEntity<Void>(HttpStatus.OK);