예제 #1
0
        public GameEngine(String whoStarts) {
            /// <summary>
            /// Game-engine constructor 
            /// </summary>
            instance = this;
            player = new Player();
            
            ai = new Ai();

            WhosCodeMaker = whoStarts;
            InitializeEngine();
            DetermineStartTurn();
        }
예제 #2
0
 public Ai() {
     instance = this;
     //Combination.instance.createCombinations();
     rnd = new Random();
 }