Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sofianedjerbi/asciicanyon
ASCII Canyon Game with ncurses
https://github.com/sofianedjerbi/asciicanyon
ascii c game ncurses
Last synced: about 2 months ago
JSON representation
ASCII Canyon Game with ncurses
- Host: GitHub
- URL: https://github.com/sofianedjerbi/asciicanyon
- Owner: sofianedjerbi
- License: gpl-3.0
- Created: 2021-10-05T12:20:12.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-30T11:45:57.000Z (about 3 years ago)
- Last Synced: 2024-10-12T03:44:11.378Z (2 months ago)
- Topics: ascii, c, game, ncurses
- Language: C
- Homepage:
- Size: 516 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASCII-Canyon
School project: An ASCII game
## Build
Build and run: `make run`
You can edit `Makefile`'s `DEFLAGS` in order to change program flags.
## Compiler flags
Don't forget to `make clean` when changing flags.
### Program flags
- `-DDEBUG` show speed/wallsize
- `-DWALLREDUCTION` activate dynamic wall reduction
- `-DSTORY` enable story mode### Variables
- `-DMAX_SPEED=x` set max speed to x
- `-DMIN_WALLSIZE=x` set the minimum wall size to x
- `-DCURSOR_HEIGHT=x` set the default height of the cursor to x
- `-DHZ=x` if not def: auto speed incrementation; if def: set clock to x HZ
- `-DWALLSIZE=x` set default wall size to x
- `-DWALL=\'c\'` set the wall to the c character
- `-DCURSOR=\"c\"` set the cursor to the c character
- `-DTRAIL=\"c\"` set the trail to the c character