home · contact · privacy
Fixed README typo.
[plomrogue] / README
1 plomrogue
2 =========
3
4 plomlompom tries to build his own roguelike. Currently, it doesn't do much
5 interesting, apart from managing keybindings and some ncurses windows in a
6 bizarre fashion.
7
8 You can move around a player and meet a number of different enemies. They move
9 randomly and will only accidentally hit you. You have 5 hitpoints to lose before
10 death; they have either 1, 3 or 9. Your score grows by killing enemies, to the
11 amount of hitpoints each killed enemy started with.
12
13 The map gets generated randomly, too.
14
15 There is only one save file (named "savefile"), and it gets overwritten each new
16 turn. To start over with a new world, delete it.
17
18 Install/run
19 -----------
20
21 Dependencies: the ncurses library.
22
23 git clone https://github.com/plomlompom/plomrogue
24 cd plomrogue
25 make
26 ./roguelike
27
28 Keybindings and window configuration
29 ------------------------------------
30
31 In the default window configuration, the window appearing on the left sports a
32 list of keybindings available globally and additionally via the window currently
33 selected as active.
34
35 Hit "w" (per default keybindings) to switch the "active" window to a view that
36 allows changing its geometry. One further hit on "w" switches the window to a
37 view that allows changing its window-specific keybindings. The global
38 keybindings may be changed in the "Global keys" window, those of the window
39 geometry configuration in the "Window geometry keys" window" and those of the
40 window-specific keybindings configuration in the "Window keybinding keys"
41 window; by default, these three windows are not visible, but may be turned on by
42 hitting the "F5", "F6" and "F7" keys.
43
44 What actions are available globally or only in specific windows can be further
45 manipulated by editing the files config/keybindings_global and
46 config/windows/Win_* that map keycodes to commands to the respective keybinding
47 repositories. While keybindings_global contains merely a list of keycode command
48 mappings, the Win_* files start with the name of the windows to be configured,
49 followed by a one-character line for internal use (mapping the window to one of
50 several internally available window content drawing functions), followed by two
51 lines describing the window's designated height and width, and only then an
52 optional list of keybindings specific to that window.
53
54 Replay game recording
55 ---------------------
56
57 Run "./roguelike -s" to watch a recording of the current game from the
58 beginning. Hit the "next turn / wait" key to increment turns. Keys to
59 manage windows, scroll on the map and quit the program are active; keys
60 to perform player actions are inactive. Append a number to the -s option
61 (like "-s100") to start the recording at the respective turn number.