Browsing tree for branch master, showing 8 entries
| / |
| Type | File | Last Commit | Author | Commit Date (UTC) | Size |
|---|---|---|---|---|---|
| txt | README.md | rani | 22:18, Jun 5 2025 | 1.46 KiB | |
| dir | bejeweled | ||||
| dir | flappy | ||||
| dir | life | ||||
| dir | mines | ||||
| dir | snake | ||||
| dir | td | ||||
| dir | tetris |
| README.md |
| README.md |
GamesA collection of small games. Configuration is done in the source file of each game. Each game is in its own directory, accompanied with a README file explaining how to play the game and what configuration options are available. Additionally, each game is only a single source file, allowing them the be turned into what may be referred to as “C scripts”. CompilationEach game requires only ncurses. Since the source for each game is a single file, compilation is fairly simple, and no makefile is provided. Enter the directory for whichever game. Compile the single C file using any C
compiler, linking against ncurses. ( For example, to run
If using
ConfiguringConfiguration is done by either specifying the config options in the compiler
command line, or by To configure from the command line, the compilation command may look like this:
This will set the Configuring directly in the source file may look like this:
|