peter1591 / hearthstone-ai

A Hearthstone AI based on Monte Carlo tree search and neural nets written in modern C++.
302 stars 49 forks source link

client card should not directly access state::State #18

Closed peter1591 closed 7 years ago

peter1591 commented 7 years ago

Client card needs:

  1. FlowControl::Manipulators
  2. state::EventManager

but should not touch:

  1. state::Cards (zone changer, etc.) since manipulators might need to trigger events when zone changed
peter1591 commented 7 years ago

Fixed in commit: 3ba428c0 a4d8d700 8282de8d