updated readme
This commit is contained in:
parent
221f21931a
commit
d6bd174e7b
@ -6,19 +6,19 @@ tA's Rules Engine for the Neon Genesis Evangelion Trading Card Game.
|
|||||||
|
|
||||||
Currently only runs in GHCI
|
Currently only runs in GHCI
|
||||||
|
|
||||||
```
|
```haskell
|
||||||
:load Connect.hs Print.hs Init.hs
|
:load Connect.hs Print.hs Init.hs
|
||||||
import Print
|
import Print
|
||||||
import Init
|
import Init
|
||||||
```
|
```
|
||||||
|
|
||||||
To print the representation of the initial board state
|
To print the representation of the initial board state
|
||||||
```
|
```haskell
|
||||||
printState initBS
|
printState initBS
|
||||||
```
|
```
|
||||||
|
|
||||||
`conHurt` and `conAttract` are currently the only implemented mechanics
|
`conHurt` and `conAttract` are currently the only implemented mechanics
|
||||||
```
|
```haskell
|
||||||
printState $ conAttract Shinji Asuka initBS
|
printState $ conAttract Shinji Asuka initBS
|
||||||
printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS
|
printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user