board-games: Three games for inclusion in a web server

[ game, library, web ] [ Propose Tags ] [ Report a vulnerability ]

Three games that might run as CGI script in a web server: Connect Four, Rows&Columns, Mastermind. Additionally there is a CLI-only game: Das verrueckte Labyrinth.

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.

Modules

[Last Documentation]

  • Game
    • Game.Labyrinth
    • Game.Mastermind
      • Game.Mastermind.CodeSet
        • Game.Mastermind.CodeSet.Tree
        • Game.Mastermind.CodeSet.Union
      • Game.Mastermind.HTML
      • Game.Mastermind.NonEmptyEnumSet
    • Game.Tree
    • Game.VierGewinnt
      • Game.VierGewinnt.HTML
      • Game.VierGewinnt.Text
    • Game.ZeilenSpalten
      • Game.ZeilenSpalten.HTML

Flags

Automatic Flags
NameDescriptionDefault
buildexamples

build example web server that runs the games

Enabled
splitbase

Choose the new smaller, split-up base package.

Enabled

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.2, 0.2.1, 0.3, 0.4
Change log Changes.md
Dependencies array, base (>=1.0 && <5), board-games, boxes (>=0.1.5 && <0.2), cgi (>=3001.1 && <3002), combinatorial (>=0.1 && <0.2), containers, enummapset (>=0.1 && <0.8), explicit-exception (>=0.1.7 && <0.3), haha (>=0.3.1 && <0.4), html (>=1.0 && <1.1), httpd-shed (>=0.4 && <0.5), network-uri (>=2.6 && <2.8), non-empty (>=0.2 && <0.4), QuickCheck (>2.0 && <3.0), random, semigroups (>=0.18 && <0.21), shell-utility (>=0.0 && <0.2), transformers (>=0.2.2 && <0.7), utility-ht (>=0.0.3 && <0.1) [details]
Tested with ghc ==6.4.1, ghc ==6.8.2, ghc ==6.12.3, ghc ==8.6.5, ghc ==9.2.5, ghc ==9.4.4
License LicenseRef-GPL
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Revised Revision 1 made by HenningThielemann at 2024-02-04T19:30:42Z
Category Game, Web
Home page http://code.haskell.org/~thielema/games/
Source repo head: darcs get http://code.haskell.org/~thielema/games/
this: darcs get http://code.haskell.org/~thielema/games/ --tag 0.4
Uploaded by HenningThielemann at 2023-01-15T12:15:49Z
Distributions LTSHaskell:0.4, NixOS:0.4, Stackage:0.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables board-games
Downloads 7806 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2023-01-15 [all 2 reports]