The LambdaHack package

[Tags: bsd3, library, program]

This is an alpha release of LambdaHack, a game engine library for roguelike games of arbitrary theme, size and complexity, packaged together with a small example dungeon crawler. When completed, the engine will let you specify content to be procedurally generated, define the AI behaviour on top of the generic content-independent rules and compile a ready-to-play game binary, using either the supplied or a custom-made main loop. Several frontends are available (GTK is the default) and many other generic engine components are easily overridden, but the fundamental source of flexibility lies in the strict and type-safe separation of code and content.

This is a minor release, primarily intended to fix broken haddock documentation on Hackage by disabling gtk2hs dependency under GHC 7.6.1 (if you use GHC 7.6.1 and gtk2hs compiles for you, please run 'cabal install -fgtk --reinstall'). Changes since 0.2.6 are mostly unrelated to gameplay: strictly typed config files split into UI and rules; a switch from Text to String throughout the codebase; use of the external library miniutter for English sentence generation.

Upcoming new features: playable monsters faction, more than two factions inhabiting the dungeon, AIvAI, PvP, improved ranged combat AI, dynamic light sources, explosions player action undo/redo, completely redesigned UI. Long term goals are focused around procedural content generation and include in-game content creation, auto-balancing and persistent content modification based on player behaviour.

A larger game that depends on the LambdaHack library is Allure of the Stars, available from

Note: All modules in the library are kept visible, to let games override each, but reuse as many as possible. OTOH, to reflect that some modules are implementation details relative to others, the source code adheres to the following convention. If a module has the same name as a directory, the module is the exclusive interface to the directory. No references to the modules in the directory are allowed except from the interface module.


Versions0.1.20080412, 0.1.20080413, 0.1.20090606, 0.1.20110117, 0.1.20110918, 0.2.0, 0.2.1, 0.2.6,, 0.2.8, 0.2.10,,, 0.2.12, 0.2.14,,,,,
Change logNone available
Dependenciesarray (>= && <1), base (==4.*), binary (>= && <1), bytestring (>=0.9.2 && <1), ConfigFile (>=1.1.1 && <2), containers (>=0.4.1 && <1), directory (>= && <2), filepath (>= && <2), gtk (>=0.12.1 && <0.13), hscurses (>=1.4.1 && <2), LambdaHack, miniutter (>=0.4.0 && <2), mtl (>=2.0.1 && <3), old-time (>= && <2), random (>=1.0.1 && <2), template-haskell (>=2.6 && <3), text (>= && <1), vty (>=, zlib (>= && <1)
AuthorAndres Loeh, Mikolaj Konarski
MaintainerMikolaj Konarski <>
CategoryGame Engine
Home page
Bug tracker
Source repositoryhead: git clone git://
ExecutablesDumbBot, LambdaHack
UploadedMon Dec 10 20:35:57 UTC 2012 by MikolajKonarski
Downloads3842 total (264 in last 30 days)
StatusDocs uploaded by user
Build status unknown [no reports yet]




gtkenable the gtk frontendDisabled
vtyenable the vty frontendDisabled
cursesenable the curses frontendDisabled
stdenable the stdin/stdout frontendDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees