4 ms·
You should queue inputs. If you press left-down the snake should turn left and then go down on the next frame. That is, if you are attempting to recreate the cl
by naz 15y ago
You should queue inputs. If you press left-down the snake should turn left and then go down on the next frame. That is, if you are attempting to recreate the classic Nokia experience, anyway.
- bytex64 15y agoI thought about it. It's been so long since I've played Nokia snake that I didn't remember whether it queued inputs or not. I decided not to bother since it would make input handling more complicated.
- igravious 15y agoPlease do it! This is how (I'm showing my age now) it worked in DOS all those years ago.
- xtracto 15y ago>That is, if you are attempting to recreate the classic Nokia experience, anyway. Wow, it is interesting that "the reference" for the snake game is the one in a Nokia mobile phone. The reference for me is the BASIC implementation that (I think) came with a version of Microsoft DOS some time ago.
- stuaxo 15y agoHeh, yeah the Qbasic one was good, I remember extending it to have powerups, 23 levels and 4 player ...
- burgerbrain 15y agoIt's kind of like how the reference for tetris for many people is the gameboy version.
- saddino 15y agoAnd the reference for me is the version that was bundled with 4.0 BSD in 1980 (also the distribution that introduced Zork)
- jiggy2011 15y agoThere was a version called "Nibbles" that came with QBasic (Which in turn came with DOS 5). It also had another artillery style game called Gorillaz. I guess the nokia implementation is considered the reference because it had the install base and must have wasted hundreds of thousands of hours worldwide. IIRC the DOS version was pretty much unknown unless you happened to scour your disk for .BAS files.
- ward 15y agoAah, the time I wasted on that one and the Gorilla game. It's a bit odd given how advanced our current games are.
- jerf 15y agoThe Wikipedia page for this is interesting: http://en.wikipedia.org/wiki/Snake_%28video_game%29 http://en.wikipedia.org/wiki/Snake_%28video_game%29 Wikipedia traces it back to "Blockade" in 1976.
- wyclif 15y agoOff-topic: what happened to your brisy.info/colors ??? I enjoyed that quite a lot, had it bookmarked and used it as my homepage. It's gone as of a few days ago and now the site just redirects to Github.