evac/README.md

33 lines
602 B
Markdown
Raw Normal View History

2019-05-19 18:45:45 -04:00
# EVAC
tA's Rules Engine for the Neon Genesis Evangelion Trading Card Game.
## Getting Started
Currently only runs in GHCI
2019-05-19 18:46:44 -04:00
```haskell
2019-05-19 18:45:45 -04:00
:load Connect.hs Print.hs Init.hs
import Print
import Init
```
To print the representation of the initial board state
2019-05-19 18:46:44 -04:00
```haskell
2019-05-19 18:45:45 -04:00
printState initBS
```
`conHurt` and `conAttract` are currently the only implemented mechanics
2019-05-19 18:46:44 -04:00
```haskell
2019-05-19 18:45:45 -04:00
printState $ conAttract Shinji Asuka initBS
printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS
```
### Dependencies
`Data.List` and `Data.Either`
## Authors
* **Shaun Kerr** - [tA](https://git.lain.church/tA)