diff --git a/Form1.cs b/Form1.cs index 7a266d8..ce5b91b 100644 --- a/Form1.cs +++ b/Form1.cs @@ -2,6 +2,8 @@ namespace GuessTheCard { public partial class Form1 : Form { + private int score = 0; + public Form1() { InitializeComponent(); @@ -9,6 +11,7 @@ namespace GuessTheCard Random random = new Random(); int randomDice = random.Next(1, 7); labelCard.Text = "Result : " + randomDice; + labelScore.Text = "Score: " + score; } } }