A casual coffee-break roguelike
Go to file
Linus Probert 1042ed6482
Merge pull request #14 from cxong/master
Use SDL to detect screen dimensions
2018-04-28 18:44:13 +02:00
assets Adds falling into pits 2018-03-25 23:30:26 +02:00
bin Dropped some bad dll's 2018-02-28 07:11:43 +01:00
cmake Add better lint checking 2018-03-13 09:35:44 +01:00
data Fiddled a bit with the pit layouts 2018-03-30 23:42:39 +02:00
physfs-3.0.1 Added physfs for file loading and safety. 2018-02-22 12:36:24 +01:00
src Use SDL to detect screen dimensions 2018-04-28 15:05:56 +10:00
test New license. MIT -> GPLv3.0 2018-02-16 18:11:26 +01:00
.appveyor.yml More appveyor lua 2018-02-14 21:38:27 +01:00
.gitignore Don't commit the settings file 2018-03-17 00:21:46 +01:00
.travis.yml The env variable was missplaced 2018-04-23 09:24:09 +02:00
.vimrc Add better lint checking 2018-03-13 09:35:44 +01:00
CMakeLists.txt Use SDL to detect screen dimensions 2018-04-28 15:05:56 +10:00
LICENSE.txt New license. MIT -> GPLv3.0 2018-02-16 18:11:26 +01:00
Makefile Added cppcheck to travis 2018-03-12 14:55:09 +01:00
README.md Include lua in readme 2018-04-22 22:01:22 +10:00
TODO.txt Updated the TODO.txt 2018-03-17 11:09:46 +01:00

README.md

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).