L-seed-0.2: L-seed.cabal
Name: L-seed
Version: 0.2
Cabal-Version: >= 1.6
License: BSD3
License-file: LICENSE
Author: Joachim Breitner <mail@joachim-breitner.de>
Maintainer: Joachim Breitner <mail@joachim-breitner.de>
Synopsis: Plant growing programming game
Description:
The players of this game will write code (the „genome“) that describes
how plants (the biological type, not the industrial) will grow. The
plants will grow simultaneously on the screen (the „garden“), will
compete for light and will multiply. The players can not change the
code of a growing plant, but they do have the chance to update their
code for the next generation -- when a plant drops a seed, it will run
the newest code. All in all, the game aims to be slowly paced and
relaxing, something to just watch for a while and something that does
not need constant attention by the players.
.
This package contains the haskell programs, i.e. the game simulation
with the visual display. It can be used to locally test the plants.
Homepage: http://www.entropia.de/wiki/L-seed
Category: Game
Build-Type: Simple
Extra-source-files:
examples/*.txt
db.conf-example
Flag Database
Description:
Builds binaries that are required to interact with the SQL database.
This is not needed when you just want to test the game locally.
Default: False
Flag WebTools
Description:
Builds binaries that are required for the web interface.
This is not needed when you just want to test the game locally.
Default: False
Flag RendererCairo
Description:
This builds the cairo renderer. This will ususally be needed, unless
you build the WebTools only.
Default: True
Library
Hs-Source-Dirs: src/
Exposed-Modules:
Lseed.Constants
Lseed.Data
Lseed.Data.Functions
Lseed.Geometry
Lseed.Geometry.Generator
Lseed.Grammar.Parse
Lseed.LSystem
Lseed.Logic
Lseed.Mainloop
Lseed.StipeInfo
Build-Depends:
base == 3.*,
random,
containers,
old-time,
mtl,
parsec == 3.*
if flag(RendererCairo)
Exposed-Modules:
Lseed.Renderer.Cairo
Build-Depends:
cairo == 0.10.*,
gtk == 0.10.*
if flag(Database)
Build-Depends:
HDBC-odbc,
HDBC,
random-shuffle == 0.0.2
Exposed-Modules:
Lseed.DB
if flag(WebTools)
Build-Depends:
json == 0.4.*
Executable runGarden
Main-Is: main.hs
Hs-Source-Dirs: src/
if ! flag(RendererCairo)
Buildable: False
Executable renderAsPNG
Main-Is: renderAsPNG.hs
Hs-Source-Dirs: src/
if ! flag(RendererCairo)
Buildable: False
Executable validate
Main-Is: validate.hs
Hs-Source-Dirs: src/
if ! flag(WebTools)
Buildable: False
Executable fastScorer
Main-Is: fastScorer.hs
Hs-Source-Dirs: src/
Executable dbclient
Main-Is: dbclient.hs
Hs-Source-Dirs: src/
if ! flag(Database) || ! flag(RendererCairo)
Buildable: False
Executable dbscorer
Main-Is: dbscorer.hs
Hs-Source-Dirs: src/
if ! flag(Database)
Buildable: False
Source-repository head
Type: git
Location: git://git.nomeata.de/L-seed.git