Making a game with a 1D Array

Pages: 12
Ok, instead of having showboard dependent on individual player choices, store the choice in an int, and pass to showboard which player made the choice using a bool value. If you do that, you may be able to finish this.
You have to declare any variable you use! If your function receives whichplayer it has to be declared in the function declaration too.
Last edited on
Topic archived. No new replies allowed.
Pages: 12