For my dice game the the by continuing with else if it comes up with an error meaning that I can only roll two dice instead of six! HELP!!!
Code:Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Turn = 1 Then DiceOne(DiceValue) lblTurn.Text = "Player One" Turn = 2 Else DiceTwo(DiceValue) lblTurn.Text = "Player Two" Turn = 1 Else If Turn = 3 Then DiceThree(DiceValue) lblTurn.Text = "Player One" End If End Sub




Reply With Quote