Commit Graph

26 Commits (7263240ffdf09b053989655be218c438f8740f74)

Author SHA1 Message Date
Mike d5f3aad844 fix indentation 2015-03-21 08:55:43 +08:00
Mike 511a0c0371 move duel runner into seperate class to prevent memory leaks 2015-03-21 08:55:40 +08:00
Mike 0849d2f101 add ai strength and life to firemind queue worker
add --self-terminate option to queue worker to shut down once the queue
is empty
2015-03-21 08:54:57 +08:00
melvinzhang 32b1518b51 replace nextRNGInt(999999) with nextRNGInt() 2015-03-10 21:15:39 +08:00
Mike f13a33e446 add ai strength and life to firemind queue worker
add --self-terminate option to queue worker to shut down once the queue
is empty
2015-03-05 15:26:31 +08:00
melvinzhang 2199977901 replace tab with four spaces 2015-03-04 17:53:49 +08:00
Mike 9336ea5f8c Improve Firemind worker
No longer shut down after fixed number of duels
Handle temp files for card script submission in a more resource
efficient way
Allow seed and AIs to be set dynamically
2015-03-03 22:56:04 +01:00
lodici 92a85bea07 move FiremindGameReport into magic.firemind package which can then be removed from core library if required. 2015-02-23 15:57:32 +00:00
lodici f553cb67ca Invalid deck throws new InvalidDeckException instead of IOException and propagates up to UI/console layer for handling. 2015-02-22 17:18:36 +00:00
lodici 98df5770ed rename loadDeck() to loadAndSetPlayerDeck() in DeckUtils. 2015-02-22 16:23:41 +00:00
melvinzhang 7d53c8484b remove setMaxTestGameDuration, max duration must be set in constructor 2015-02-18 12:55:21 +08:00
melvinzhang 186efa423b switch FiremindQueueWorker to use HeadlessGameController instead of SwingGameController 2015-02-18 11:17:53 +08:00
lodici 438522c356 rename GameController to SwingGameController. 2015-02-17 19:07:23 +00:00
lodici 22d07bfdde moved VERSION constants out of MagicMain into GeneralConfig - core classes should not be referencing launch classes. 2015-02-15 12:20:32 +00:00
melvinzhang 320b6e6bf9 remove sound from MagicGame constructor 2014-11-29 21:00:45 +08:00
melvin 0af149c44d merge and normalize changeset from mike 2014-10-13 09:09:25 +08:00
projectfiremind 64ba90b591 Change script loading for worker to only load scripts in deck list. Add failsafe methods in CardDefinitions.getCard and TokenCardDefinitions.get to dynamically load missing scripts. 2014-10-12 18:54:50 +02:00
melvin a0a8027175 merge and normalize source files 2014-10-11 08:39:10 +08:00
projectfiremind 22dbfc63c9 fix api call, initialize only card definitions 2014-10-10 22:09:11 +02:00
melvin 785bd9228a normalize source files 2014-09-24 19:33:02 +08:00
projectfiremind 093c7b9f88 Add error handling and ability to temporarily add and test card scripts 2014-09-23 10:33:02 +02:00
projectfiremind 8a0c245452 Added check for magarena version to ensure client is able to run duels 2014-09-07 18:24:09 +02:00
ShawnieBoy 7a58f249c2 rename firemind package to it's actual location 2014-09-06 02:32:43 +01:00
melvin 347262f7f3 normalize source files 2014-09-04 13:37:26 +08:00
mike f586433757 Add Access Token Label and clean up clode 2014-09-03 23:14:02 +02:00
projectfiremind 3ac35f4375 add code to launch firemind worker from settings menu 2014-09-03 19:15:41 +02:00