Bewof is a simple roguelike which fits in one kilobyte (1024 bytes) of C source code This project was inspired by ZigClimb
Bewof should compile an any Unix based system (tested an MacOS) Bewof only requires ncurses to build, so make sure you have it installed
$git clone https://github.com/dragonsploder/Bewof.git
$cd Bewof
$gcc -w -lncurses -obewof bewof.c
$./bewof
Note it is also possible to compile on windows (tested with mingw) with pdcurses. For this to work you must also link pdcurses in the code:
#include <pdcurses.h> // Or whatever header file you got for pdcurses
In Bewof, you are the at sign (@). The base game of Bewof uses the wasd keys to move, Q to quit, and any other key to wait You have 20 health and the goal of the game is to clear the screen of monsters before your health hits 0 The four directions each do something different when you attempt to walk on a monster tile
- W will attack a monster for 1 health
.b. .a.
.@. - w - > .@.
... ...
- A will move a monster up two tiles and over one
... .f.
... - a - > ...
f@. .@.