The hs-pgms package

[ Tags: bsd3, game, library, program ] [ Propose Tags ]

This package allows people to code Minesweeper strategies in Haskell and run them in a graphical UI. Inspired by http://www.ccs.neu.edu/home/ramsdell/pgms/index.html.


[Skip to Readme]

Properties

Versions 0.1, 0.1.0.1
Dependencies array, base, directory, glib, gtk, MonadPrompt (>=1.0.0.1), mtl, random [details]
License BSD3
Copyright (c) 2008 Bertram Felgenhauer
Author
Maintainer Bertram Felgenhauer <int-e@gmx.de>
Category Game
Uploaded Wed Jun 18 18:18:51 UTC 2008 by BertramFelgenhauer
Distributions NixOS:0.1.0.1
Executables hs-pgms
Downloads 560 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
split-baseEnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hs-pgms-0.1.0.1

[back to package description]
This is a Haskell implementation of Programmer's Minesweeper by
John D Ramsdell. See 
   http://www.ccs.neu.edu/home/ramsdell/pgms
for the original.

To add a new strategy, create a Haskell module that implements it, and
add it to the list in Strategies.hs. Then add the module itself it the
hs-pgms.cabal file and you're set. Two example strategies are provided,
SimpleStrat.hs and Strat1.hs (actually they're basically the same).

Note: The hs-pgms executable will launch a GUI by default. Run
hs-pgms --help to see its other capabilities.

Have fun!