Fixed Bug

Bug made you loose game even if you had valid moves.