LambdaHack-0.2.1: A roguelike game engine in early and very active development

Safe HaskellSafe-Infered

Game.LambdaHack.Misc

Description

Hacks that haven't found their home yet.

Synopsis

Documentation

normalLevelBound :: (Int, Int)Source

Level bounds. TODO: query terminal size instead and scroll view.

divUp :: Int -> Int -> IntSource

Integer division, rounding up.

type Freqs = [(String, Int)]Source

For each group that the kind belongs to, denoted by a String name in the first component of a pair, the second component of a pair shows how common the kind is within the group.