-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.yaml
106 lines (98 loc) · 1.97 KB
/
package.yaml
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
name: chessIO
version: 0.9.5.0
github: "mlang/chessIO"
license: BSD3
author: "Mario Lang"
maintainer: "[email protected]"
copyright: "2024 Mario Lang"
synopsis: Basic chess library
category: Game
description: A simple and fast library for generating legal chess moves.
Also includes a module for communication with external processes that
speak the UCI (Universal Chess Interface) protocol, a PGN parser/pretty printer,
and Polyglot opening book support.
On top of that, provides a console frontend program (cboard) that can be used
to interactively play against UCI engines.
tested-with:
- GHC==8.6.5
- GHC==8.8.4
- GHC==8.10.5
- GHC==9.0.1
- GHC==9.2.1
dependencies:
- attoparsec
- base >= 4.10 && < 5
- binary
- bytestring
- containers
- deepseq
- extra
- file-embed
- hashable
- lens
- megaparsec >= 9.0
- mono-traversable
- MonadRandom
- o-clock
- prettyprinter >= 1.7.0
- process
- random
- stm
- text
- template-haskell >= 2.9.0.0
- th-compat >= 0.1.2
- th-lift-instances
- unordered-containers
- vector
- vector-instances
- vector-binary-instances
extra-source-files:
- README.md
- ChangeLog.md
- book/eco.pgn
- book/twic-9g.bin
ghc-options:
- -O2
library:
source-dirs: src
exposed-modules:
- Game.Chess
- Game.Chess.ECO
- Game.Chess.PGN
- Game.Chess.Polyglot
- Game.Chess.SAN
- Game.Chess.Tree
- Game.Chess.UCI
executables:
cboard:
main: cboard.hs
source-dirs: app
ghc-options:
- -threaded
dependencies:
- chessIO
- haskeline
- mtl
polyplay:
main: polyplay.hs
source-dirs: app
dependencies:
- chessIO
- optparse-applicative
- time
tests:
perft:
main: Perft.hs
source-dirs: test/perft
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -s"
dependencies:
- chessIO
- directory
- parallel
- time
polyglot:
main: Polyglot.hs
source-dirs: test/polyglot
dependencies:
- HUnit
- chessIO