Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad game written in Haskell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
GameDefinition Suggest a couple of well-behaved Windows fonts
test Tweak game modes and tests to get better coverage
.gitignore
.travis.yml Revert removal of safari test for 7.8
Allure.cabal Specify the version of the AGPL license
CHANGELOG.md Fix a wrong number of dots in the changelog
CREDITS switch CREDITS from LambdaHack to Allure
LICENSE Relicense from BSD to AGPL
Makefile Fix the windows binary build command
README.md Update documentation files
Setup.hs cabalized

README.md

Allure of the Stars Build StatusBuild Status

Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad game. Have a look at PLAYING.md or jump straight into the fray.

gameplay screenshot

The game is written in Haskell using the LambdaHack roguelike game engine. Long-term goals of the project are high replayability and auto-balancing through procedural content generation and persistent content modification based on player behaviour.

Installation from binary archives

Pre-compiled game binaries for some platforms are available through the release page and from the Nix Packages Collection. To manually install a binary archive, make sure you have the GTK libraries suite on your system, unpack the LambdaHack archive and run the executable in the unpacked directory.

On Windows, if you don't already have GTK installed (e.g., for the GIMP picture editor) please download and run (with default settings) the GTK installer from

http://sourceforge.net/projects/gtk-win/

Screen and keyboard configuration

The game UI can be configured via a config file. The commented out version of this file with the default settings is in GameDefinition/config.ui.default. When the game is run for the first time, the file is copied to the official location, which is ~/.Allure/config.ui.ini on Linux and C:\Users\<username>\AppData\Roaming\Allure\config.ui.ini (or C:\Documents And Settings\user\Application Data\Allure\config.ui.ini or something else altogether) on Windows.

Screen font can be changed and enlarged by uncommenting and editing the config file at its official location or by right-clicking on the game window.

If you use the numeric keypad, use the NumLock key on your keyboard to toggle the game keyboard mode. With NumLock off, you walk with the numeric keys and run with Shift (or Control) and the keys. When you turn NumLock on, the reversed key setup enforces good playing habits by setting as the default the run command (which automatically stops at threats, keeping you safe) and requiring Shift for the error-prone step by step walking.

If you don't have a numeric keypad, you can use laptop keys (uk8o79jl) or you can enable the Vi keys (aka roguelike keys) in the config file.

Compilation from source

The game is best compiled and installed via Cabal (already a part of your OS distribution, or available within The Haskell Platform), which also takes care of all the dependencies. You also need the GTK libraries for your OS. On Linux, remember to install the -dev versions as well. On Windows follow the same steps as for Wine. On OSX, if you encounter problems, you may want to compile the GTK libraries from sources.

The latest official version of the game can be downloaded, compiled and installed automatically by Cabal from Hackage as follows

cabal install gtk2hs-buildtools
cabal install Allure

For a newer version, install a matching LambdaHack library snapshot from a development branch, download the game source from github and run cabal install from the main directory.

Compatibility notes

The current code was tested with GHC 7.6 and 7.8, but should also work with other GHC versions, with minor modifications.

If you are using the terminal frontends, numerical keypad may not work correctly depending on versions of the libraries, terminfo and terminal emulators. The curses frontend is not fully supported due to the limitations of the curses library. With the vty frontend run in an xterm, CTRL-keypad keys for running seem to work OK, but on rxvt they do not. Laptop (uk8o79jl) and Vi keys (hjklyubn, if enabled in config.ui.ini) should work everywhere regardless. GTK works fine, too.

Testing and debugging

The Makefile contains many sample test commands. Many tests that use the screensaver game modes (AI vs. AI) and the dumb stdout frontend are gathered in make test. Of these, travis runs test-travis-* on each push to the repo. Test commands with prefix frontend start AI vs. AI games with the standard, user-friendly gtk frontend.

Run Allure --help to see a brief description of all debug options. Of these, --sniffIn and --sniffOut are very useful (though verbose and initially cryptic), for monitoring the traffic between clients and the server. Some options in the config file may prove useful too, though they mostly overlap with commandline options (and will be totally merged at some point).

Further information

For more information, visit the wiki and see PLAYING.md, CREDITS and LICENSE.

Have fun!

Copyright

Copyright (c) 2008--2011 Andres Loeh, 2010--2014 Mikolaj Konarski

Allure of the Stars is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program in file LICENSE. If not, see http://www.gnu.org/licenses/.

Something went wrong with that request. Please try again.