MinerSDL is a remake of Harrel W. Stiles' MinerVGA. To nobody's surprise, it's implemented using SDL and C++.
It's a simple game that involves entering the mines in order to earn enough riches to win the love of Mimi, the prettiest girl in town. (Apparently life and love was a lot more superficial in 1989.)
It was the first 'big' project that I had ever undertaken so the code might be a little scary.
MinerSDL uses SDL 1.2-style headers and libraries.
On Arch/CachyOS, install:
sudo pacman -S --needed sdl12-compat sdl_image sdl_ttf pkgconf base-develchmod +x scripts/setup_linux_build.sh scripts/run_linux.sh
./scripts/setup_linux_build.sh
./scripts/run_linux.sh- The setup script is check-only for dependencies: it does not install packages.
- On Linux, the game expects
./Graphics/...but the repo stores assets insource/graphics. The setup script createssource/Graphics -> graphicsto make runtime paths work on case-sensitive filesystems. - If
pkg-configcannot resolveSDL_image/SDL_ttf, the setup script falls back to linking-lSDL_image -lSDL_ttfand continues the build.
