Exemplo n.º 1
0
        public static Tuple <Move1000, StateGame1000> GetIqState(StateGame1000 game)
        {
            RelatingIq <StateGame1000, Move1000, int> iq = new RelatingIq <StateGame1000, Move1000, int>(30);
            var zw = iq.Run(game);

            return(zw);
        }
Exemplo n.º 2
0
 private void BindConclusionWitchState(StateGame1000 state)
 {
     for (int i = 0; i < state.cardOnTable.Length; i++)
     {
         PlayerConclusion[i].UserCards = state.cards[i];
     }
 }
Exemplo n.º 3
0
        public StateGame1000 GetStates()
        {
            StateGame1000 state = new StateGame1000(PlayerConclusion.Count);

            BindConclusionWitchState(state);
            RandCards();
            state.Player = GetUserWhoMove();
            return(state);
        }
Exemplo n.º 4
0
 internal int ReatingState(StateGame1000 item2) => item2.ScorePlayer(playerIndex);
Exemplo n.º 5
0
 internal int RelateReating(StateGame1000 state)
 {
     return(state.RateStates(playerIndex));
 }