Thanks for this! I rethinked the way I approached this and used a while looop! Working now! Here's the code
Now just gotta work on making the player stay on the same location when he accidentally...
Type: Posts; User: launchy
Thanks for this! I rethinked the way I approached this and used a while looop! Working now! Here's the code
Now just gotta work on making the player stay on the same location when he accidentally...
Right, i realized that i shouldve made
board[2][5]!=5 ||board[3][2]!=5 || board[4][4]!=5
to
board[2][5]==5 ||board[3][2]==5 || board[4][4]==5
Hi, i'm having trouble with this assignment and the goal of this assignment is to create a 2d array that looks like this:
0 0 0 0 0 0 0 0 0
0 5 0 0 0 0 0 0 0
0 0 0 0 0 7 0 0 0
0 0 7 0 0 0 0 0...