Well, you could simply use an integer which holds the value of whose turn it is:
VB Code:
'suppose 4 players Dim NextPlayersTurn As Integer = 1 'on next turn If Not NextPlayersTurn = 4 Then NextPlayersTurn += 1 Else NextPlayersTurn = 1 End If
Now I don't know what you are planning on storing in the array... but if it something like a Player class ... where each instance
describes a certain player....
You would probably want to make a collection of Players... and simply iterate through the collection on each, and reset to the first element after the last player's turn...




Reply With Quote