fixed playGame logic