board-games

Three games for inclusion in a web server

http://code.haskell.org/~thielema/games/

Version on this page:0.1.0.6
LTS Haskell 19.6:0.3@rev:1
Stackage Nightly 2022-03-17:0.3@rev:1
Latest on Hackage:0.3@rev:1

See all snapshots board-games appears in

LicenseRef-GPL licensed and maintained by Henning Thielemann
This version can be pinned in stack with:board-games-0.1.0.6@sha256:bdc79b06b289cb43510fff57803bce84953bf943fd1e398a4a70c0aa1a4b1146,2949

Three games that might run as CGI script in a web server: Connect Four, Rows&Columns, Mastermind

Check running versions at http://www.henning-thielemann.de/VierGewinnt and http://www.henning-thielemann.de/ZeilenSpalten.

You can build an example web server by installing with

cabal install board-games -fbuildExamples

Then start the server with

./dist/build/board-games/board-games

and play the games in your browser at the URL http://localhost:8080/.

Currently the games use German texts. I wanted to use gettext, but this is not thread-safe.