NGE CCG Rules Engine
Go to file
2019-05-20 10:54:41 +12:00
.gitignore blellllllelehughh 2019-05-16 16:05:45 +12:00
Cards.hs made everything nicer, wont compile 2019-05-19 15:56:48 +12:00
Connect.hs cheeky non working commit to save my work 2019-05-20 07:37:05 +12:00
Groups.hs compiles now, printing group adjacency working 2019-05-20 10:39:43 +12:00
Init.hs cheeky non working commit to save my work 2019-05-20 07:37:05 +12:00
Print.hs compiles now, printing group adjacency working 2019-05-20 10:39:43 +12:00
README.md imagine being a loser: this meme made by 'i check my readme formatting before committing' gang 2019-05-20 10:54:41 +12:00
State.hs compiles 2019-05-19 18:11:40 +12:00
Types.hs compiles 2019-05-19 18:11:40 +12:00
Util.hs compiles 2019-05-19 18:11:40 +12:00

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