if(count % 2 == 0){
//player 1's turn
} else {
//player 2's turn
}
but I'm not sure what strategy i should use with, say a game with 4 players, any ideas?
Edit:
Other than manually coding, because there is infinity moves and I cant code that many lines, something like this is unreasonable imo
if count = 0
//player 1
else if count = 1
//player 2
else if count = 2
//player 3
else if count = 3
//player 4
else if count = 4
//player 1
else if count = 5
//player 2
and so on indefinitely


Sign In
Create Account

Back to top









