Challenges » Snake
Name: Snake Author: Timothy Foster Download: CHLG8.zip Compatibility: Parent page not set File Size: 994 bytes |
This Snake game is not like the normal snake game. In this game, you are trying to outlive your opponent, a basic AI, by not running into any walls or plus signs. The longer you last, the more points you earn. You also earn points by collecting donut like squares. The moment you collide with a wall, a plus sign, your tail, or your opponent's tail, you lose and the game ends. As you move, you create a wall behind you which permanently remains there. You continue in a straight path until you change direction with the press of one of the arrow keys. If the AI runs into a wall, you progress to the next level. This game features a title screen, quick and addictive game play, and a highscore system. Have fun! If you need to quit while in the middle of program operation, press CLEAR. |
Want to update this page?
- Upload new files to provide up-to-date versions of your program;
- or Edit the content of this page to provide up-to-date information about your program.
A moderator will only process these changes if you add the word update to the list of tags
What the community thinks:
Haha, this game reminds me a bit of Tron ;)
I won't post any constructive/destructive criticism, or give any opinions, as the contest is still not over.
Yes, which is why I did not upload mine, waiting to see if I need to do any major changes, which I am.
I have made a few changes, but now, my program is at 1022 bytes. My question is: is the list that I define, LSKE, counted towards the 1024 bytes?
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
No.
Lol my program uses around 2500 extra bytes when it is in use.
Join Codeworld.
Also check out my blog.
I know! My program runs an extra 900 bytes for a list!!!
Mine sounds very simple in comparison. It only uses a few real variables and a one-element list.
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
Wait, if I have a list named ∟BMB it does not count ? If yes, does it count for 4 bytes ?
Edit: Never mind, you're talking about the list when it's in use I suppose.
No, size is program size only. Any data created by the program does not count
mine is less than 100 bytes and very fun it is:
AsmprgmC9
lol
never mind, still top secret and still in development.
:D
I'm glad we have so many contributors in this contest!
I have always liked the game Snake. I have made my own version of it but instead of being on the Home screen, it's on the graph. The code goes as followed:
I can't figure out how to get the game to stop if the snake bumps into it's self, but I know it has something to do with "Pxl–Test(". If you can figure out how to do this, please post the code stating it.
For those of you who want to change the game to make it different, here are a few optimization codes for it. First is how to change the color of the snake:
-instead of-
-put-
And for each Pxl–On(, replace it with Pxl–Off(. And for each Pxl–Off(, replace it with Pxl–On(.
The next optimization code is how to make the box smaller. The code goes as followed:
-instead of-
-put-
-instead of-
-put-
That's it for now. Please reply if you have ideas for more optimizations.