Skip to content


Subversion checkout URL

You can clone with
Download ZIP
a roguelike project
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

A Roguelike Project

An experiment in the key of C

This is just a small project that I've been working on, and it may or may not be of interest to you. This is basically a small game in C, using the ncurses library, which utilizes ASCII characters as graphics. So far, this has mainly been an experiment with the library for me, but I've been making decent progress.


The propgram currently includes an ascii character which can bump into the edges of your (80x24) terminal, will call you stupid if you press the wrong key, and will count the number of steps he takes. Consider it a score or something.


The game is easy to control (so far): Just use the default vim keybindings.

* left: h
* down: j
* up: k
* right: l


The game has absolutely no dependencies besides ncurses. To compile, simple download main.c and the Makefile, and run "make". It should generate an executable "rogue" in the same directory. You don't even need root or anything.

Alternatively, you can navigate to the folder in which you downloaded main.c, and compile the code with:

gcc main.c -o rogue -lncurses

Installation shouldn't give you any problems at all - if you have a C compiler, then more than likely you can compile the code. If you have any issues, feel free to contact me.

Something went wrong with that request. Please try again.