Esempio n. 1
0
 public Game()
 {
     players = new List <Player>()
     {
         new PlayerHuman("Player"), new PlayerBot("Bot")                           /*, new PlayerBot("Bot2"), new PlayerBot("Bot3"), new PlayerBot("Bot4") */
     };
     currentTurnHostIndex =
         -1;
     //(new Random(DateTime.Now.Millisecond)).Next(players.Count) - 1;
     UserCommands.initialiseWordList(this, players[0]);
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            Console.WindowWidth *= 2;


            WaitTimer w = new WaitTimer(1, "Game starting in");

            w.setAction(new GameAction(() =>
            {
                Game g = new Game();
                UserCommands.initialiseWordList(g, g.players[0]);
                g.start();
            }));
        }