battleships: A web-based implementation of battleships including an AI opponent.
This package provides a web-based implementation of the popular battleships game, developed over the course of a practical functional programming class at the University of Bonn (http://www.iai.uni-bonn.de/~jv/teaching/afp13/). Alongside with the classical gameplay against an AI opponent, a game mode is provided in which players may move their undamaged ships.
Modules
- Application
- Foundation
- Handler
- Handler.About
- Handler.GameEnded
- Handler.Home
- Handler.PlaceShips
- Handler.Play
- Handler.Replay
- Handler.Rules
- Handler.SaveGame
- Handler.Util
- Import
- Logic
- Logic.AIUtil
- Logic.Binary
- Logic.CleverAI
- Logic.Debug
- Logic.DefaultAI
- Logic.Game
- Logic.GameExt
- Logic.Random
- Logic.Render
- Logic.StupidAI
- Logic.Types
- Logic.Util
- Settings
- Settings.Development
- Settings.StaticFiles
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
dev | Turn on development settings, like auto-reload templates. | Disabled |
library-only | Build for use with "yesod devel"; also turns on development settings. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- battleships-1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0.0 |
---|---|
Dependencies | aeson, array, attoparsec, base (>=4 && <5), base64-bytestring, battleships, blaze-svg, bytestring (>=0.9 && <0.11), cereal, colour, containers, cookie, crypto-random, data-default, diagrams-lib, diagrams-svg, directory (>=1.1 && <1.3), fast-logger (>=0.3.2), filepath, hamlet (>=1.1 && <1.2), hjsmin, MonadRandom, mtl, shakespeare-js, shakespeare-text (>=1.0 && <1.1), SimpleAES, template-haskell, text (>=0.11 && <0.12), transformers, wai-extra, wai-handler-fastcgi (>=1.3 && <2.1), wai-logger, warp, word8, yaml, yesod (>=1.2 && <1.2.5), yesod-core (>=1.2 && <1.3), yesod-routes, yesod-static (>=1.2 && <1.3) [details] |
License | BSD-3-Clause |
Author | Meike Grewing, Lukas Heidemann, Fabian Thorand, Fabian Zaiser |
Maintainer | thorand@cs.uni-bonn.de |
Category | Game |
Home page | https://github.com/zrho/afp |
Bug tracker | https://github.com/zrho/afp/issues |
Uploaded | by fatho at 2014-04-24T15:05:42Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | key-gen, aibenchmark, img-gen, main.fcgi |
Downloads | 1327 total (0 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 2016-10-27 [all 10 reports] |