Fixed end of game check

also allowed user to reset their turn