C#C
C#3y ago
pat

✅ Help with basic guessing game

Hi guys. I just started programming classes last week and it's all very new to me. This is a guessing game. You have ten tries, the lights on each side tell you if the number you're guessing is higher or lower than the hidden number.

I'm having a hard time even getting started. I have to get the button "Accepter" to work and "Nombre d"essais" has to have a max value of 10 display. I tried;

vsb.NbEssais.Value = 10;

But that just makes my button become the number 10 with the accept button serving no purpose. I'm trying to show the properties in my screenshot. The button's name is "btnAccepter". I'll post the code page too but I doubt it's any help if you don't speak French.
image.png
image2.png
Was this page helpful?