|
nsnake
Classic snake game for the terminal
|
| Command-line argument parser | |
| Quick-and-dirty functions to show GUI-like dialogs on the screen | |
| All global settings to the game | |
| Simple module that contains everything needed to load and parse a file with the INI configuration format | |
| Contains a "scope" of the INI file | |
| Loads, reads and parses the contents of an INI file (or string) | |
| Everything related to the terminal library Ncurses | |
| Random useful things accumulated over the years | |
| Utilities to encode and decode from the Base64 format | |
| File I/O and Operational System's utilities | |
| Better random number generator | |
| Abstract interface to any kind of Animation | |
| Rules and behavior of the Fire animation | |
| Two-dimensional array | |
| A level where the snake runs and eats fruits | |
Opens, loads and parses a level file, returning a well-formed Board | |
| Custom exception class to specify an error that occurred during a level loading | |
| A single fruit | |
| Controls how many Fruits are there and how they're spawned | |
| Abstract definition of a game state | |
| This represents the actual game taking place | |
| The Main Menu | |
| Interface for how the things are shown on the screen | |
| How we show the screen at GameStateFirstTime | |
| How we show the screen at GameStateMainMenu | |
| List of selectable items | |
| Menu on which its items are always sorted alphabetically | |
| Simplest type of item possible, with a label and user-defined id | |
| A little box that can be checked or not | |
| Shows a Menu Item with left and right labels | |
| Allows to select a number, kinda like a slider | |
| Place where you can input characters | |
| A list of selectable text | |
| A single entry on the high-score file | |
| Stores points the player made on the game | |
| Custom exception class to specify an error that occurred during a level loading | |
| Giga-class that switches from game states | |
| A segment of the terminal screen (2D char matrix) | |
| Specific Window that shows Help and other info during Game |
1.8.5