board-games: Three games for inclusion in a web server
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
- Game
- Game.Mastermind
- Game.Mastermind.CodeSet
- Game.Mastermind.CodeSet.Tree
- Game.Mastermind.CodeSet.Union
- Game.Mastermind.HTML
- Game.Mastermind.CodeSet
- Game.Tree
- Game.VierGewinnt
- Game.VierGewinnt.HTML
- Game.VierGewinnt.Text
- Game.ZeilenSpalten
- Game.ZeilenSpalten.HTML
- Game.Mastermind
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
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
- board-games-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 (>=0.1 && <0.5), base (>=1.0 && <5), cgi (>=3001.1 && <3001.2), containers (>=0.2 && <0.5), html (>=1.0 && <1.1), httpd-shed (>=0.4 && <0.5), network (>=2.3 && <2.4), random (>=1.0 && <1.1), transformers (>=0.2.2 && <0.4), utility-ht (>=0.0.3 && <0.1) [details] |
Tested with | ghc ==6.4.1, ghc ==6.8.2, ghc ==6.12.3 |
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 2012-04-10T17:28:09Z |
Distributions | LTSHaskell:0.4, NixOS:0.4, Stackage:0.4 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | board-games |
Downloads | 7798 total (37 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Successful builds reported [all 9 reports] |