示例#1
0
文件: Player.cs 项目: mcmhav/PokerAI
        public Player(Table table, string name)
        {
            Table = table;
            Stack = initMoney;
            Hand = new List<Card>();

            this.name = name;
        }
示例#2
0
文件: Main.cs 项目: mcmhav/PokerAI
 public static void Main(string[] args)
 {
     Stopwatch watch = new Stopwatch();
     watch.Start();
     Table table = new Table();
     table.Play();
     watch.Stop();
     Console.WriteLine(
         string.Format("Minutes :{0}\nSeconds :{1}\n Mili seconds :{2}",
         watch.Elapsed.Minutes, watch.Elapsed.Seconds, watch.Elapsed.TotalMilliseconds));
     int i = 0;
 }