It is currently 20 Nov 2017, 07:38
   
Text Size

DraftMaster

by lord of 13

Moderators: lord of 13, CCGHQ Admins

DraftMaster

Postby lord of 13 » 07 Jan 2010, 05:28

DraftMaster is designed for use as a drafting application and possesses superior logic and a new and unique AI for the player's rival drafters. At the end of your draft, when you save your draft, DraftMaster automatically creates a deck for you that fits your two most commonly drafted colors and provides a sideboard should you wish to revise it. About half of M10 comes with DraftMaster on initial download. Currently, the decks are only saved as smart-draft files and are compressed.
-------------------------------------------------------------
Google Code: https://code.google.com/p/draftmaster/
Download:
RAR: draftmaster.googlecode.com/files/DraftMaster 1-6-10.rar
ZIP: draftmaster.googlecode.com/files/DraftMaster 1-6-10 ZIP.zip
-------------------------------------------------------------
Now, DraftMaster is not complete. Far from it! Its AI and logic can be improved, such as by making the AI take into account card effects and tags - for example, by drafting removal frequently.

This rudimentary to-do list contains a few things that could be done to improve it. Please suggest features or let me know about bugs to be fixed.
To Do:
  • Allow DraftMaster to download card images and sets from the Internet
  • Change the AI to factor in card tags
Attachments
DraftMaster scrn1.png
Using DraftMaster to draft M10-M10-M10; got lucky first pick with Ajani Goldmane!
DraftMaster scrn2.png
Using DraftMaster to detail a 15-pack draft
DraftMaster scrn3 - CardAdder.png
Adding Ajani Goldmane using CardAdder.exe
Last edited by lord of 13 on 09 Jan 2010, 02:42, edited 2 times in total.
><><><><><><><
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
User avatar
lord of 13
DEVELOPER
 
Posts: 79
Joined: 06 Jan 2010, 01:36
Has thanked: 0 time
Been thanked: 0 time

Re: DraftMaster

Postby nantuko84 » 07 Jan 2010, 07:47

wow, it's very nice!
while looking for such program (I didn't found any one), I got http://magic.tcgplayer.com/draft/ service where you can play any draft versus bots and then build your decks. The only disadvantage is that you should pay if you want to play more that 3 per day.
As far as I know they use another algorithm: bots (mostly at the beginning) take most valuable cards based on values that are determined automatically by statistics. Let's say a player has Baneslayer Angel in his\her booster, pretty sure it will be taken as first pick. So this service give it the percentage rating. Moreover it seems once I saw such rating on their site, so may be it can be used in your program as well.

While playing, I got a booster with 4 Borderland Ranger! It is not impossible in real life (the only exception is two copies where one is foil). I've read in daily that Wizards uses some non random algorithm to create boosters. So I guess it's a feature\bug.

Allow DraftMaster to download card images and sets from the Internet
for sure, this task has the highest priority.
what can I say, MagicWars (you may find it here) downloads images by set name and collector id that was easy to implement and saves a lot of time. and all card information are generated from Gatherer spoilers using perl script. if u want I may share them (or you can get them from svn as it's open source).
also you may use already generated file from http://www.slightlymagic.net/forum/viewtopic.php?f=27&t=1347 (thanks to Marek14 and Arch for this)

regards
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times

Re: DraftMaster

Postby lord of 13 » 07 Jan 2010, 22:44

DraftMaster currently comes with about half of the M10 set - with around 10 commons. That's on my to-do list as well, but not as a programmer. Anyone can do that - just use CardAdder.exe (included with download) and add cards to the M10 set file. If anyone wants to and adds a significant amount of cards (at least 30), post here with an a zip file as an attachment and I'll add it to the release.

About ratings:
DraftMaster's Artificial Intelligence comes from its Player Rating System, which takes the average turn a player picked a card and, if the card has been drafted at least 10 times, is used by the Logic to evaluate the card instead of the default rating.
This may or may not be similar to what you are talking about, but it allows for DraftMaster to adapt to a player and their valuation of cards. For example, if you force red every time and highly pick red cards, over time, the AI will start drafting red more often, leaving you with fewer red cards than you used to get. As you stabilize, the AI will stabilize to your values, and become more "entrenched" in its old "ways of thought", making it harder for you to change its perception of a card's rating or value.
><><><><><><><
Currently developing Mindgames, for playing a rules-enforced game of MtG.
RECENT PROJECTS
->XMLScript
->Zwiel Platformer
User avatar
lord of 13
DEVELOPER
 
Posts: 79
Joined: 06 Jan 2010, 01:36
Has thanked: 0 time
Been thanked: 0 time


Return to DraftMaster

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 279 on 11 Jul 2013, 22:03

Users browsing this forum: No registered users and 2 guests

Login Form