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

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.Mastermind
      • Game.Mastermind.CodeSet
        • Game.Mastermind.CodeSet.Tree
        • Game.Mastermind.CodeSet.Union
      • Game.Mastermind.HTML
    • 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
Dependencies array, base (>=1.0 && <5), cgi (>=3001.1 && <3002), containers, html (>=1.0 && <1.1), httpd-shed (>=0.4 && <0.5), network-uri (>=2.6 && <2.7), random, transformers (>=0.2.2 && <0.6), 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/
Uploaded by HenningThielemann at 2016-07-19T12:55:08Z
Distributions LTSHaskell:0.4, NixOS:0.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables board-games
Downloads 7545 total (32 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-11-22 [all 2 reports]