|
-
Dec 8th, 2000, 05:00 PM
#1
Thread Starter
Addicted Member
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!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|