Roguelike 24: A Micro-game

By Ogion

The sorcerer is teleporting you from level to level in search of the Zombie King. Unfortunately, when you materialize you are weaponless. At each dungeon, you must find new weapons and attack the monsters that dwell there. Can you find and slay the Zombie King?

In this micro-game, written in just 24 lines, you can look N, S, E, and W. Enter the direction again to move there, once you’ve peered into the darkness. But beware – many of the monsters are beyond your abilities.

To equip yourself with the weapons you find, enter the label for that weapon; for instance, type “;” to use the sling. So long as you possess the bane of a monster – for instance, the amulet “‘” is the bane of the Mummy – you will fight better against that creature.

Monsters:
A = Giant Ant, STR 1
B = Giant Bat, STR 2
C = Giant Centipede, STR 3
D = Dwarf, STR 4, bane is Sword
F = Firespirit, STR 6, bane is Holy Water
G = Ghost, STR 7, bane is Holy Water
H = Hobgoblin, STR 8
I = Imp, STR 9
K = Kobold, STR 11
L = Lich, STR 12, bane is Wand
M = Mummy, STR 13, bane is Amulet
N = Naga, STR 14
O = Orc, STR 15
R = Reaper, STR 18, bane is Amulet
S = Skeleton, STR 19, bane is Holy Water
T = Troll, STR 20
U = Undead, STR 21, bane is Holy Water
V = Vampire, STR 22, bane is Crucifix
W = Wraith, STR 23, bane is Ring
Z = Zombie King, STR 26, bane is Scroll

Objects:
! = Potion (treasure)
# = Wall, column (landscape)
$ = Gold (treasure)
% = Mattock (weapon), ATT 6
‘ = Amulet (wearable), bane of the Mummy
( = Armor (wearable)
) = Shield (wearable)
* = Gem (treasure)
+ = Crucifix (wearable), bane of the Vampire
, = Holy Water (weapon), bane of the Firespirit, Ghost, Skeleton, and Undead
– = Wand (weapon), ATT 1, bane of the Lich
. = Ring (wearable), bane of the Wraith
/ = Sword (weapon), ATT 7, bane of the Dwarf
: = Darkness (landscape)
; = Sling (weapon), ATT 3
< = Hatchet (weapon), ATT 4
> = Axe (weapon), ATT 5
? = Scroll (weapon), ATT 2, bane of the Zombie King
@ = You, bane of all monsters!

Get LowRes Coder to use this program.

Play homegrown retro games and program your own!