Sorry this will probably sound really stupid and is probably answered somewhere but I can't find it and I'm seriously stuck, I'm trying to make a dice for a snakes and ladders game and I've got it to work ish except it displays the same pattern of numbers every time I reload the game. It goes 5,4,4,2,3,5,1.... exactly the same each time.
I had it like this:
Dim n As Integer = (1 + Rnd() * 5)
Then I tried changing it to this:
Dim n As Integer = CInt(Math.Floor((6 - 1 + 1) * Rnd())) + 1
But I still got the exact same numbers