-
Board Game arrays?
Hello! I'm writing a small board game. I have two calls to the random method that both generate a random number between 1 and six to simulate two dice. The dice are added together into an int called totalmove. Now, I have an array that starts at [0]. When I roll the dice, I want it to move through the array like one would in a board game. So, it would start at zero, and then if I roll, say six, it moves six spaces through the array and then prints the space I'm at. Any help would be appreciated. Thanks!
-
What are you having problems with? The more specific the question, usually the more specific and helpful the answer.