Results 1 to 3 of 3

Thread: Snake/Nibbles?

  1. #1

    Thread Starter
    Addicted Member Ramandeep's Avatar
    Join Date
    Feb 2000
    Posts
    158

    Unhappy

    What would be the best way to implement the game nibble/snake? I’m thinking of writing it as my next games programming practice project.

    How do I actually represent the snake, do I use an array to represent the area in which the snake can move. This is what came to my mind.

    I thought if I represented the whole thing as an array I could represent the snake as a number say 1 and the things he picks up/eats as 2. I could move the snake around by moving the values around in the array might be tricky when the snake turns?

    I've seen an example just quickly where I think he was using a row & column method.

    Any ideas would be helpful, and THANKS IN ADVANCE!!!

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Fox made one, its on his site. And there were at least two threads on this, if you do some research you should be able to find it.

  3. #3
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    by the way...kedaman also made an example
    http://www.kedaman.com

Posting Permissions

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



Click Here to Expand Forum to Full Width