Пример #1
0
 public Player(int id, string name, bool gameTurn)
 {
     this.playerID = id;
     this.name     = name;
     this.gameTurn = gameTurn;
     //isme göre skor tablosunda aratıp skoru varsa eklenmeli yoksa sıfır yazılmalı
     Txt txt = new Txt();
 }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     p1               = new Player(0, "harun", true);
     p2               = new Player(1, "ethem", false);
     game             = new Game(p1.Name, p2.Name);
     txt              = new Txt();
     lblTahminci.Text = "-";
     lblKalanHak.Text = "0";
     lblSkor.Text     = "0";
     LvUpdate(txt.ScoreBoard());
 }