My week has ended and RunRight, my first roguelike and my largest
Haskell program so far, is done.
w,a,s,d to move
q to quit
, to pick something up
1-9,L,R,A to use, drop, or equip the corresponding item
All weapons do the same damage but have different secondary effects:
Axes can remove trees.
Picks can remove rocks.
Swords have a 50% chance of instantly killing by decapitation.
Cricket bats have a 50% chance of knocking the target back.
Shield rods have different effects based on which of the three shields
you have equipped.
There's no clever or innovative gameplay and the code is a perfect
example of ugly kudges and poor thinking but taking on a group of
zombies while duel wielding a sword and cricket bat can be rather fun.
Haskell source: http://docs.google.com/leaf?id=0B8Y80LIrP1hMZTUxNmVmOGEtZmM1ZS00OTA4L...
Windows binary: http://docs.google.com/leaf?id=0B8Y80LIrP1hMMzk1YWNjMTMtMzQwNC00MmZlL...