Skip to content

yokelpole/MinerSDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MinerSDL

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.

The mines

Linux build

MinerSDL uses SDL 1.2-style headers and libraries.

Dependencies

On Arch/CachyOS, install:

sudo pacman -S --needed sdl12-compat sdl_image sdl_ttf pkgconf base-devel

Build and run

chmod +x scripts/setup_linux_build.sh scripts/run_linux.sh
./scripts/setup_linux_build.sh
./scripts/run_linux.sh

Notes

  • The setup script is check-only for dependencies: it does not install packages.
  • On Linux, the game expects ./Graphics/... but the repo stores assets in source/graphics. The setup script creates source/Graphics -> graphics to make runtime paths work on case-sensitive filesystems.
  • If pkg-config cannot resolve SDL_image/SDL_ttf, the setup script falls back to linking -lSDL_image -lSDL_ttf and continues the build.

About

A remake of Harrel W. Stiles' MinerVGA.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors