added example to readme
This commit is contained in:
parent
d6bd174e7b
commit
8850d320db
19
README.md
19
README.md
@ -19,9 +19,26 @@ printState initBS
|
|||||||
|
|
||||||
`conHurt` and `conAttract` are currently the only implemented mechanics
|
`conHurt` and `conAttract` are currently the only implemented mechanics
|
||||||
```haskell
|
```haskell
|
||||||
printState $ conAttract Shinji Asuka initBS
|
|
||||||
printState $ conHurt Asuka Gendo $ conAttract Shinji Asuka initBS
|
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
|
### Dependencies
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user