Commit Graph

6611 Commits (bfbfa96bac204bf36b31acace5de65c7c091eaaa)

Author SHA1 Message Date
ubeefx 0605367a78 Improved downloaded images for mana symbols. 2011-04-09 13:00:25 +00:00
ubeefx 2cfee094c6 Added selection of AI in preferences. 2011-04-09 10:06:08 +00:00
ubeefx 555d836493 Improved setting of known cards for AI. 2011-04-09 08:43:39 +00:00
melvinzhang@gmail.com 8b3475813c added some handmade decks created by folks on forum and from issue #52 2011-04-09 03:44:39 +00:00
melvinzhang@gmail.com 350fb91456 made logging configurable via the constructor, default constructor sets logging to false 2011-04-09 03:05:09 +00:00
melvinzhang@gmail.com 4ee43f37f5 treats the situation where the size of the list of choices is zero as a draw, previously tried to continue the game but gets stuck in a infinite loop 2011-04-09 03:00:06 +00:00
melvinzhang@gmail.com 27b5e62d6d accidentally commited version of MagicAIImpl used for testing MCTS, it sets MCTS as the default. Fixed by setting Minimax AI back to being the default 2011-04-09 01:49:56 +00:00
melvinzhang@gmail.com 3aeb7070f8 MCTS now works but it cheats by using the MagicGame constructor that allows it to see all the cards 2011-04-09 01:47:53 +00:00
melvinzhang@gmail.com 8ffab05ea3 fixed syntax error in calling a constructor from within another constructor 2011-04-09 01:45:47 +00:00
melvinzhang@gmail.com 850a51d985 increase the MAX_TEST_MODE_DURATION to 100000 2011-04-09 01:42:55 +00:00
melvinzhang@gmail.com 32d6ab45d6 added constructor that allows AI to view the complete game state, included cards that should be hidden from it 2011-04-09 01:41:33 +00:00
ubeefx 30d52b1852 Moved cube and image information to card definition files. 2011-04-08 21:52:47 +00:00
ubeefx ed7621b080 Removed images files in mods support. 2011-04-08 20:19:12 +00:00
ubeefx 53de590e9c Created initializeEngine method to remove duplication. 2011-04-08 20:09:16 +00:00
melvinzhang@gmail.com 3df275480b refactored getNextMultiChoiceEvent to be flatter, reduce nestedness of statements, added condition to terminate AI when MAXTIME or MAXSIM is reached, store game.getScore in MCTSGameTree (not used at the moment) 2011-04-08 06:44:28 +00:00
ubeefx c0f00d6e86 Added card Lightning Greaves. 2011-04-07 20:30:31 +00:00
melvinzhang@gmail.com 11f29b3335 MCTSGameTree now implements iterable, so that we can use for each loop to go over all the children of a node, changed assert format 2011-04-07 09:19:23 +00:00
melvinzhang@gmail.com 26091b7405 improve error handling and provide some simple instructions on the arguments supported by DeckStrCal 2011-04-07 06:53:40 +00:00
melvinzhang@gmail.com ee8282e4f7 added some asserts to help debug MCTS 2011-04-07 04:31:41 +00:00
melvinzhang@gmail.com ddf9b0559f fixed crash in MCTS, randomPlay still bugged (almost always returns that scorePlayer wins 2011-04-06 05:27:39 +00:00
ubeefx 8c8ce0f4f1 Added card Barbed Battlegear. 2011-04-05 21:12:29 +00:00
ubeefx 1133f98b59 Small changes. 2011-04-05 17:21:32 +00:00
melvinzhang@gmail.com 5e45c342ad MCTS code now uncommented and can be tested, before this MCTS was making random moves 2011-04-05 03:31:42 +00:00
melvinzhang@gmail.com 4864bb8a09 cli deck strength calculator now prints out the AIs selected in results output 2011-04-05 03:21:53 +00:00
ubeefx e3e6a40176 Increased version to 1.11.
Replaced some card images.
AI code review and formatting.
2011-04-04 17:22:52 +00:00
melvinzhang@gmail.com 76281e3fc0 added initial attempt at implementing a Monte Carlo Tree Search AI, runs but still have bugs to be ironed out, can be selected from the command line as MCTS 2011-04-04 03:07:36 +00:00
melvinzhang@gmail.com 23ea7c9209 AIs can be selected from the command line deck strength calculator, currently available AIs are MMAB (Minimax with alpha beta pruning) and RND (make random moves), default AI is MMAB 2011-04-04 03:03:13 +00:00
melvinzhang@gmail.com e0e280783c AIs stored in MagicTournament, GameController gets the array of AIs from MagicTournament and invokes the appropriate one based on the player's index 2011-04-04 03:01:13 +00:00
ubeefx 7e4303bc0e Felt theme. 2011-04-02 14:39:33 +00:00
ubeefx cec0182c1b Added static. 2011-04-01 22:26:07 +00:00
ubeefx 6d10d07a25 Fix. 2011-04-01 21:48:01 +00:00
ubeefx a5b7776c22 Updated runtimes. 2011-04-01 21:42:57 +00:00
ubeefx c529e24e54 3 new cards. Updated readme. 2011-04-01 21:38:45 +00:00
ubeefx 8a1c326e7a Increased version to 1.10.
Redesigned card image loading.
No longer need for separate low quality images.
2011-04-01 20:10:37 +00:00
ubeefx 63f9e84c16 Updated nature theme. 2011-03-23 22:34:23 +00:00
ubeefx b26b2cdc27 Updated runtimes. 2011-03-22 22:39:54 +00:00
ubeefx f79976da5d Command line deck strength calculator. 2011-03-22 22:32:37 +00:00
ubeefx 3277195739 Support for local Magarena data folder. 2011-03-22 22:18:43 +00:00
ubeefx a80bda8c12 Added Go for the Throat and Sword of Feast and Famine. 2011-03-22 21:50:37 +00:00
ubeefx 24b4a295f0 Updated moon theme. 2011-03-22 21:36:03 +00:00
ubeefx 58998e3d85 Fixed targeting Solemn Offering. 2011-03-21 23:14:22 +00:00
ubeefx 18094ea622 Added 5 infect creature cards. 2011-03-21 22:41:59 +00:00
ubeefx 76c3ff902e Moon theme version 2.
Added color settings for themes.
2011-03-21 22:01:24 +00:00
ubeefx 57b6bb3e90 Support for infect keyword and poison counters.
6 infect creature cards.
2011-03-20 21:45:42 +00:00
ubeefx c2aadf3731 Removed Fusion Elemental. 2011-03-20 18:57:42 +00:00
ubeefx ac7d7e37e5 Changed version to 1.9. Removed Fusion Elemental (5 colors). 2011-03-20 18:57:04 +00:00
ubeefx 90b8f24857 Theme avatars fix. 2011-03-19 19:42:23 +00:00
ubeefx 804ded633a Mystic theme. 2011-03-15 22:28:16 +00:00
ubeefx 573b298896 Updated runtimes. 2011-03-13 16:29:53 +00:00
ubeefx f9aadc5af1 Changed maximum number of creatures in generated decks. 2011-03-13 15:56:46 +00:00