breakhack/README.md

2.1 KiB

Build Status Build Status Codacy Badge

Something in the ways of NETHACK

A simple nethack similar game written in C using SDL2.

Idea

Randomly generated maps/rooms. Leveling system, permadeath, multiple classes. Casual and fun for 10-20 minutes during a break from regular work/play.

I wanted to practice C and I'm comfortable using SDL2. The assets are graciously taken from the web. More info in the README in the assets folder.

Future

I'm planning on releaseing this game on Steam once I'm happy with it. Not to get rich, mostly because I think it will look nice on my resumé. the code will remain open source under GPLv3 even after a possible Steam release. So you'll still be able to download and compile it yourself if you can and want to.

Compile

Apart from basic compile tools (GCC/Clang, Make) you'll also need to install lua, sdl2, sdl2-image, sdl2-ttf, sdl2-mixer (If on a debian based dist you need to install the dev packages). Optionally you can also install cppcheck and physfs

Once that is done run the following:

mkdir _build
cd _build
cmake -DCMAKE_BUILD_TYPE=Debug .. # Build type flag is optional
make

Contribute

Have an idea and able to implement it? Fork and send me a pull request and I'll check it out. If I like it I will add it. If it's a big thing I'll add your name to the credits list (once I add it in game).