Making a game with a 1D Array

Pages: 12
Nov 9, 2012 at 3:53am
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.
Nov 9, 2012 at 3:57am
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 Nov 9, 2012 at 3:59am
Topic archived. No new replies allowed.
Pages: 12