Skip to content

jonathandeamer/yeti

yeti

ski down a mountain until the yeti finds you

yeti gameplay

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.

Build & Install

make
sudo make install

One 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/.local

To uninstall:

make uninstall

Run

./yeti

Or just yeti if installed in your path.

Development

This repository enforces Conventional Commits via a Git hook. To set up the hook locally, run:

make init-hooks

Controls

Key Action
Left / Right lean
Q, ESC quit
R restart from death

License

Dual-licensed: MIT or CC0-1.0, your pick. See LICENSE-MIT and LICENSE-CC0.

About

A tiny terminal ski game.

Topics

Resources

License

CC0-1.0, MIT licenses found

Licenses found

CC0-1.0
LICENSE-CC0
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors