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

[ game, library, web ] [ Propose Tags ]

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

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]
License LicenseRef-GPL
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
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 NixOS:0.3
Reverse Dependencies 1 direct, 0 indirect [details]
Executables board-games
Downloads 7242 total (56 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]