Commit Graph

18 Commits (master)

Author SHA1 Message Date
Leandro Doctors 2733516cb9 Organize imports 2020-01-16 08:21:24 +08:00
melvinzhang c8f1262b45 remove trailing space from java code 2015-12-31 18:54:52 +08:00
melvinzhang 039e39c9f3 remove AI specific methods from PlayerProfile, add MagicPlayer.getAiProfile convenience method 2015-04-04 21:46:34 +08:00
melvinzhang fd6ddadd09 determine AI from player profile instead of from MagicDuel 2015-04-04 21:46:33 +08:00
lodici 160a6cfb45 remove imports. 2015-02-22 14:04:17 +00:00
melvinzhang 4a6da028b8 HeadlessGameController now implements simpler IGameController without any unnecessary methods 2015-02-20 09:03:52 +08:00
melvinzhang 4467dfd8d0 move logic of advancing game to the next event with choice into MagicGame, simplify HeadlessGameController run loop 2015-02-19 11:01:22 +08:00
melvinzhang 2b460e8db7 make it clearer that there are three cases to handle in runGame loop 2015-02-18 18:07:30 +08:00
melvinzhang 2a6416d6a4 merge helper methods into runGame loop 2015-02-18 16:53:15 +08:00
melvinzhang fe81862272 reduce nestedness of runGame loop 2015-02-18 14:12:50 +08:00
melvinzhang 7d53c8484b remove setMaxTestGameDuration, max duration must be set in constructor 2015-02-18 12:55:21 +08:00
melvinzhang 8e46952346 showMessage should never be called, remove ILogBookListener 2015-02-18 12:50:58 +08:00
melvinzhang 5e870821f5 add runGame and haltGame to IGameController 2015-02-18 11:12:32 +08:00
melvinzhang 6fee6d9757 remove passing state of DeckStrengthViewer into advanceDuel, replace with check if whether game is real 2015-02-18 10:47:29 +08:00
melvinzhang 75cf2868c3 remove unused instance members in HeadlessGameController 2015-02-18 10:30:40 +08:00
melvinzhang 2b110ea7f8 move unsupported methods to end of class 2015-02-18 10:19:26 +08:00
melvinzhang d9fcaf9dd5 replace methods that should not be used in headless mode with UnsupportedOperationException 2015-02-18 10:15:58 +08:00
lodici 7f516c3347 - implement HeadlessGameController with no UI dependencies from DeckStrCal.
- Use a much simplified initialize() for DeckStrCal.
2015-02-17 19:14:50 +00:00