Go to file
Myrd 3e91a56ced Fix NPE in CardUtil.getLKICopy() that would happen when Thespian's Stage would copy itself.
The problem would happen when executing:
        newCopy.getCurrentState().copyFrom(in, in.getState(in.getCurrentStateName()));
        
Because the clone code was clearing the cloned state without updating currentStateName.

Also added a test for this in the context of simulated AI, although the actual bug was not in simulation code - it's just simulation code would run into it since it tries all possible targets to copy (while humans would likely not try it).
2016-12-22 20:31:41 +00:00
2013-07-30 11:31:55 +00:00
2013-11-08 18:39:59 +00:00
2011-08-09 19:20:51 +00:00
Description
An unofficial rules engine for the world's greatest card game.
GPL-3.0 1.1 GiB
Languages
Java 98.1%
OpenEdge ABL 1%
Python 0.8%