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

[Skip to Readme]


Versions 0.1,
Dependencies array, base, directory, glib, gtk, MonadPrompt (>=, mtl, random [details]
License BSD3
Copyright (c) 2008 Bertram Felgenhauer
Maintainer Bertram Felgenhauer <>
Category Game
Uploaded Wed Jun 18 18:18:51 UTC 2008 by BertramFelgenhauer
Distributions NixOS:
Executables hs-pgms
Downloads 803 total (162 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for hs-pgms-

[back to package description]
This is a Haskell implementation of Programmer's Minesweeper by
John D Ramsdell. See
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!