-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathHagl.cabal
88 lines (85 loc) · 2.47 KB
/
Hagl.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: Hagl
version: 0.3.0
synopsis: A DSL for experimental game theory.
homepage: https://github.com/walkie/Hagl
bug-reports: https://github.com/walkie/Hagl/issues
license: BSD3
license-file: LICENSE
author: Eric Walkingshaw
maintainer: [email protected]
category: Game Theory
build-type: Simple
cabal-version: >= 1.22
description:
A DSEL for experimental game theory (a.k.a. evolutionary game theory,
behavioral economics). Supports defining games and strategies, then executing
them repeatedly in order to collect and observe the results.
.
Hagl provides built-in support for standard game representations, such as
normal and extensive form, and constructs for defining games in terms of the
manipulation of a shared state (as in tic-tac-toe). New game representations
are supported via a type class.
.
A monadic strategy DSL supports concise and vaguely English-like definitions of
strategies for playing games, usually iteratively.
.
While Hagl provides some basic game analyses, its primary focus is simulation
and experimentation. Games can be executed and strategies can be pitted
against each other for repeated play and in various kinds of tournaments.
.
For some concrete examples, see the included README.md file, available online
here: <https://github.com/walkie/Hagl/blob/master/README.md>
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/walkie/Hagl.git
branch: master
library
hs-source-dirs: src
default-language: Haskell2010
ghc-options:
-Wall
-Wredundant-constraints
-Wno-missing-signatures
-Wno-name-shadowing
-W
default-extensions:
DeriveDataTypeable
, DeriveGeneric
, FlexibleContexts
, GeneralizedNewtypeDeriving
, MultiParamTypeClasses
, OverloadedStrings
, TypeFamilies
build-depends:
base
, containers
, mtl
, random
, transformers
exposed-modules:
Hagl
, Hagl.Example.Auction
, Hagl.Example.Beauty
, Hagl.Example.Chance
, Hagl.Example.Crisis
, Hagl.Example.Matches
, Hagl.Example.Matrix
, Hagl.Example.Prisoner
, Hagl.Example.RPS
, Hagl.Example.TicTacToe
, Hagl.Examples
, Hagl.Exec
, Hagl.Extensive
, Hagl.Game
, Hagl.List
, Hagl.Normal
, Hagl.Payoff
, Hagl.Print
, Hagl.StateGames
, Hagl.Strategy
, Hagl.Tournament
other-modules:
Hagl.History
, Hagl.Simultaneous