About

Metadata

  • Last updated , by BertramFelgenhauer
  • License BSD-3-Clause
  • Categories Game Development
  • Maintained by: Bertram Felgenhauer <int-e@gmx.de>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    split-base (on by default)

Readme

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!