playAgain = "yes"

while True:
    print("Would you like to play again? (yes or no)")
    if input() not in ('yes', 'y'):
else:
    print("You should choose YES or NO")
        break
    initGame()