Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: novice needs help

  1. #11

    novice needs help

    Quote Originally Posted by waran
    It seems like your problem is you are not familar with pascal.
    In this case you should seek help here:

    http://www.taoyue.com/tutorials/pascal/index.html

    I can't get what you mean by
    but when i do run it it does give the option to have the
    tiles moved or anything, everytime i runs it goes str8 to ...what
    i mentioned above.
    Its gibberish. You can compile my code with Freepascal (delphi or
    objfpc mode) or Delphi - maybe newer Turbo Pascal versions also -
    and run it.
    The program runs in console and you enter the number you want to
    move and press enter.

    i meant when i run it it does NOT




    hey i downloaded the free pascal thing and it is coming up with an error there

  2. #12

    novice needs help

    I actually ran tired of telling you stuff based on virtually nothing coming
    from you. I reconnement reading this:

    http://www.catb.org/~esr/faqs/smart-questions.html

  3. #13

    novice needs help

    I think it is just difficult getting answers to a program that is made for text based OS or console which hardly anyone programs anymore.

    i have to make a game like

    5 4 8
    9 6 1
    2 3

    to be able to move the tiles from spot to spot...i got down to making the tiles appear randomly but the moving is giving trouble
    Store 3x3 array and X,Y coordinates for the empty tile. Whenever you move from position to other, read the number, write it to old coordinates and clear the cell in new coordinates.

    In console like UI you need to input direction to move, for example U,D,L,R for up,down,left,right or you can read actual arrow keys or w,s,a,d.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •