nSnake is an implementation of the classic snake game with a textual interface. It is playable at the commandline and uses the nCurses C library for graphics. Its purpose is to provide a simply-coded, almost tutorial-like game with C. The source code is thoroughly commented.
|Tags||Game Snake Arcade Console terminal|
|Operating Systems||GNU/Linux Debian GNU/Linux Debian-based Linux Ubuntu Linux unix command line|
|Implementation||C ncurses curses pdcurses|
Finally, nSnake now works on Microsoft Windows! Of course i prefer GNU/Linux systems, but now there wonít be any excuses not to play this game ;) I was amazed by how simple it was to do it. Thanks to PDCurses (a curses port to Windows), all i had to do was include itís header (curses.h) and recompile nSnake with the -lpdcurses flag. Also, to run, nSnake.exe needs pdcurses.dll. Iíll try to merge them into a single standalone executable later. Other big news, nSnake now joins the Git Side of the Force. I had no special reasons to use it instead of Mercurial or Subversion. It is now so much easier to implement a new feature, reverse the code in case something goes wrong and keep track of changes to the sourceÖ And the most amazing thing ever: anyone can browse the source code online! Thanks to SourceForge, Google Code and GitHub! Iíll always keep them refreshed with the newest changes. Speaking of changes, i didnít made a release yet because of some bugs i need to fix. But expect great changes on the next release! If youíre curious, visit the TODO file to see some of the features i plan to implement.
Release Notes: The game was basically reprogrammed from scratch. Besides being a snake game clone, this release has many new features: many new game possibilities; an improved interface; full customization; saving of all scores; and portability.
Release Notes: This release focus a lot on the code. It hasn't changed the gameplay (besides the high score), but the code was greatly improved. It's completely different from the previous versions.
Release Notes: This release adds smaller features and fixes major holes in the game structure. The main changes were fixed memory leaks, improved source code readability, and documentation completion.