lets game logic deal with illegal moves