quit games when a useless move is made