NGE CCG Rules Engine
.gitignore | ||
Cards.hs | ||
Connect.hs | ||
Groups.hs | ||
Init.hs | ||
LICENSE | ||
Print.hs | ||
README.md | ||
State.hs | ||
Types.hs | ||
Util.hs |
EVAC
tA's Rules Engine for the Neon Genesis Evangelion Trading Card Game.
Getting Started
Currently only runs in GHCI
:load Connect.hs Print.hs Init.hs
import Print
import Init
To print the representation of the initial board state
printState initBS
conHurt
and conAttract
are currently the only implemented mechanics
printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS
returns:
== BOARD STATE ==
- Groups -
A ~ [ Shinji, Asuka ] <-> BCDE
B ~ [ Rei ] <-> AE
C ~ [ Misato ] <-> AD
D ~ [ Ritsuko ] <-> ACE
E ~ [ Gendo ] <-> ABD
- Downed -
~ Gendo
- GameLog -
Shinji attracted Asuka, Asuka's group joined Shinji's group
Asuka hurt Gendo, Gendo is downed
=================
Dependencies
Data.List
and Data.Either
Authors
- Shaun Kerr - tA