nsnake
Classic snake game for the terminal
 All Classes Namespaces Functions Variables Enumerations Pages
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 12]
oNArgumentsCommand-line argument parser
oNDialogQuick-and-dirty functions to show GUI-like dialogs on the screen
oNGlobalsAll global settings to the game
oNINISimple module that contains everything needed to load and parse a file with the INI configuration format
|oCLevelContains a "scope" of the INI file
|\CParserLoads, reads and parses the contents of an INI file (or string)
oNNcursesEverything related to the terminal library Ncurses
oNUtilsRandom useful things accumulated over the years
|oNBase64Utilities to encode and decode from the Base64 format
|oNFileFile I/O and Operational System's utilities
|\NRandomBetter random number generator
oCAnimationAbstract interface to any kind of Animation
oCAnimationSnakesRules and behavior of the Fire animation
oCArray2DTwo-dimensional array
oCBoardA level where the snake runs and eats fruits
oCBoardParserOpens, loads and parses a level file, returning a well-formed Board
oCBoardParserExceptionCustom exception class to specify an error that occurred during a level loading
oCBody
oCFruitA single fruit
oCFruitManagerControls how many Fruits are there and how they're spawned
oCGame
oCGameStateAbstract definition of a game state
oCGameStateGameThis represents the actual game taking place
oCGameStateMainMenuThe Main Menu
oCLayoutInterface for how the things are shown on the screen
oCLayoutFirstTimeHow we show the screen at GameStateFirstTime
oCLayoutGame
oCLayoutMainMenuHow we show the screen at GameStateMainMenu
oCLilSnake
oCMenuList of selectable items
oCMenuAlphabeticMenu on which its items are always sorted alphabetically
oCMenuItemSimplest type of item possible, with a label and user-defined id
oCMenuItemCheckboxA little box that can be checked or not
oCMenuItemLabelShows a Menu Item with left and right labels
oCMenuItemNumberboxAllows to select a number, kinda like a slider
oCMenuItemTextboxPlace where you can input characters
oCMenuItemTextlistA list of selectable text
oCPlayer
oCScoreEntryA single entry on the high-score file
oCScoreFileStores points the player made on the game
oCScoreFileExceptionCustom exception class to specify an error that occurred during a level loading
oCStateManagerGiga-class that switches from game states
oCTimer
oCWindowA segment of the terminal screen (2D char matrix)
\CWindowGameHelpSpecific Window that shows Help and other info during Game