The wxAsteroids package


The Asteroids game, using the wxHaskell GUI, as described in "wxHaskell, A Portable and Concise GUI Library for Haskell"

[Skip to ReadMe]


Versions1.0, 1.1, 1.1,
Dependenciesbase (<5), directory, random, wx (>0.90), wxcore [details]
AuthorDaan Leijen
MaintainerwxHaskell developer mailing list <>
Home page
Source repositoryhead: git clone
UploadedWed Sep 23 11:04:16 UTC 2015 by HenkJanVanTuyl


Maintainers' corner

For package maintainers and hackage trustees

Readme for wxAsteroids-1.1


A demonstration of how to use wxHaskell

Your space ship enters an asteroid belt, try to avoid collisions!

wxAsteroids is a game demonstrating the wxHaskell GUI. To run the game, you will need wxHaskell, see:

If wxHaskell is installed, and you have cabal-install on your system, give the folllowing command to install wxAsteroids:

cabal install wxAsteroids

Another option is, to download the wxAsteroids tarball from Hackage and unpack it; go to the directory with the game code and enter the commands:

runhaskell Setup configure
runhaskell Setup build
runhaskell Setup install

You will get a message about the directory in which the executable is installed; this directory must be in the search path.

Give the following command to start the game:



For a detailed description of wxHaskell and the program, see: wxHaskell, A Portable and Concise GUI Library for Haskell

Further information about wxHaskell can be found at: