C# Dice game
Go to solution
Solved by cluelessgenius,
else
{
if (som == 7)
{
MessageBox.Show("Je hebt verloren", "Spijtig");
}
else if (som == vorig)
{
MessageBox.Show("Je hebt gewonnen!", "Gefeliciteerd");
}
else
{
vorig = som;
MessageBox.Show("Probeer het nog een keer", "Opnieuw");
}
}
//so as i get it this might work if 7 is a no-go
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now