Search:

Type: Posts; User: launchy

Search: Search took 0.27 seconds.

  1. Replies
    5
    Views
    432

    [SOLVED] Re: Cannot get out of do-while loop

    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...
  2. Replies
    5
    Views
    432

    [SOLVED] Re: Cannot get out of do-while loop

    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
  3. Replies
    5
    Views
    432

    [SOLVED] Cannot get out of do-while loop

    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...
Results 1 to 3 of 3