ski down a mountain until the yeti finds you
You ski down a mountain. Somewhere between 30 and 60 seconds in, a yeti appears and starts closing the distance. You can lean left or right to dodge trees, but every press also costs you a sliver of headstart against the yeti. Either the trees get you or the yeti does.
make
sudo make installOne C file (src/yeti.c). To keep things minimalist, the file is strictly capped at a self-imposed (and completely arbitrary) 10 KiB budget, so contributions will need to fit within the ceiling. Needs a C99 compiler and ncurses; pkg-config is used to find ncurses if present, with an -lncurses fallback.
By default, the binary is installed to /usr/local/bin (which requires administrator privileges via sudo). To install without sudo to a custom location (like your home directory), customize the PREFIX and DESTDIR variables:
make install PREFIX=$HOME/.localTo uninstall:
make uninstall./yetiOr just yeti if installed in your path.
This repository enforces Conventional Commits via a Git hook. To set up the hook locally, run:
make init-hooks| Key | Action |
|---|---|
| Left / Right | lean |
| Q, ESC | quit |
| R | restart from death |
Dual-licensed: MIT or CC0-1.0, your pick. See LICENSE-MIT and LICENSE-CC0.
