Projects / nSnake

nSnake

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
Licenses
Operating Systems
Implementation
Translations

Last announcement

Windows support and Git 01 Feb 2012 02:55

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.

Recent releases

  •  06 Mar 2014 15:22

    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.

    •  20 Jan 2012 18:50

      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.

      •  20 Dec 2011 15:56

        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.

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.