NGE CCG Rules Engine
Go to file
2019-05-26 10:27:24 +12:00
cardimages added info 2019-05-26 10:27:24 +12:00
src lazy push 2019-05-22 20:50:21 +12:00
.gitignore blellllllelehughh 2019-05-16 16:05:45 +12:00
evarules.pdf added info 2019-05-26 10:27:24 +12:00
LICENSE probably chose the wrong license 2019-05-20 11:34:42 +12:00
README.md I swear its correct this time 2019-05-22 13:24:16 +12:00

EVAC

tA's Rules Engine for the Neon Genesis Evangelion Trading Card Game.

Getting Started

Currently only runs in GHCI

:load Leads/Groups.hs ComBoard/Printer.hs ComBoard/Init.hs
import ComBoard.Printer
import ComBoard.Init

To print the representation of the initial board state

printState initBS

hurt and attract are currently the only implemented main mechanics

printState $ (hurt Rei Ritsuko)
           . (attract Ritsuko Misato)
           . (hurt Shinji Gendo)
           . (attract Asuka Shinji)
           $ initBS

returns:

== BOARD STATE ==
 - Groups -
A ~ [ Ritsuko ] <-> BCE
B ~ [ Misato ] <-> AC
C ~ [ Asuka, Shinji ] <-> ABDE
D ~ [ Rei ] <-> CE
E ~ [ Gendo ] <-> ACD
 - Downed -
~ Gendo
 - GameLog -
Asuka attracts Shinji, both groups are joined
Shinji hurts Gendo, Gendo is downed!
Ritsuko attracts Misato, both groups are joined
Rei hurts Ritsuko, Ritsuko is seperated
=================

Dependencies

Data.List and Maybe (Data.Either)

Authors

  • Shaun Kerr - tA