Exemple #1
0
 public PC_Network(Form f, ProgramControl pc) : base(f)
 {
     table    = (Table)f;
     table.pc = this;
     chat     = pc.chat;
     chat.PC  = this;
 }
Exemple #2
0
 public PC_Network(Form f,ProgramControl pc)
     : base(f)
 {
     table = (Table)f;
     table.pc = this;
     chat = pc.chat;
     chat.PC = this;
 }
Exemple #3
0
 static void Main()
 {
     // �{������
     //ProgramControl p = new ProgramControl(new Table());
     ProgramControl p = new ProgramControl(new NewTable());
     p.showTable();
     // ���յP�M���͵P
     //new BrandsTest();
     // ����AI
     //new AiTest();
     // ���եx�ƭp��
     //new TallyTest();
     // ���լO�_�J�P
     //new CheckTest();
     // ���դ��P
     //new DealTest();
 }
Exemple #4
0
        static void Main()
        {
            // 程式控制
            //ProgramControl p = new ProgramControl(new Table());
            ProgramControl p = new ProgramControl(new NewTable());

            p.showTable();
            // 測試牌和產生牌
            //new BrandsTest();
            // 測試AI
            //new AiTest();
            // 測試台數計算
            //new TallyTest();
            // 測試是否胡牌
            //new CheckTest();
            // 測試分牌
            //new DealTest();
        }
Exemple #5
0
 public CPK(ProgramControl pc,CheckUser check)
 {
     InitializeComponent();
     this.pc = pc;
     this.checkuser = check;
 }
Exemple #6
0
 public CPK(ProgramControl pc,Brand brand)
 {
     InitializeComponent();
     this.pc = pc;
     this.brand = brand;
 }