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()); }
public bool EndGame() { try { isStart = false; trueLetterCount = 0; guessWord = ""; remRight = 6; currentPlayerID = -1; Form1 f1 = new Form1(); f1.LvUpdate(txt.ScoreBoard()); return(true); } catch (Exception e) { MessageBox.Show(e.ToString()); return(false); } }