board-games

Three games for inclusion in a web server

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

Version on this page:0.2.1
LTS Haskell 22.18:0.4@rev:1
Stackage Nightly 2023-12-26:0.4
Latest on Hackage:0.4@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.2.1@sha256:f81355c2ccc16d8e43929bc1146249386c3b3825e2781b404d18de0a5d196978,3482

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.

Changes

Change log for the board-games package

0.2.1

  • add criterion benchmarks for Mastermind

0.2

  • improved game strategy for Mastermind

0.1

  • hierarchical module names