tag:blogger.com,1999:blog-889604442512373664.post4676210283937902712..comments2023-10-31T08:28:52.391-07:00Comments on Computer Programming and Magic: The Gathering: AI Good Enough?Forgehttp://www.blogger.com/profile/15838286606081721333noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-889604442512373664.post-36759659125039418472008-12-28T00:10:00.000-08:002008-12-28T00:10:00.000-08:00HiMy feeling is that the most important improvemen...Hi<BR/><BR/>My feeling is that the most important improvement would be to add the feature mentioned a few pages back: for the AI to go through it's hand and assign each card a value, then play the card with the highest value.<BR/><BR/>For instance, if it had lightning bolt, giant growth, a creature, wrath of god, and a healing salve, it would go through each asking a question:<BR/><BR/>lightning bolt: does the enemy have a creature in play with toughness 3 or less? Yes? how many? +1 for each.<BR/><BR/>giant growth: am I going to attack this turn? +1. Does the enemy have one or more creatures that are bigger than my biggest creature? +1 for each.<BR/><BR/>a creature: is my creature situation better or worse than my enemies? ie, do I have more, better creatures or not?<BR/><BR/>wrath: is my creature situation better of worse than my enemies? This card would also bump the value of any creatures in my hand down, to prevent them from being played before the wrath.<BR/><BR/>healing salve: would basically always have the lowest priority? because healing, man? oh, and instants should have lower priority than creatures and sorceries, since they can be played in more situations: it isn't as important that they get played during my main phase.<BR/><BR/>So there's my thoughts: not that I would know how to start implementing that!<BR/><BR/>z.Unknownhttps://www.blogger.com/profile/12232327223837493042noreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-4230320179971746172007-07-02T09:43:00.000-07:002007-07-02T09:43:00.000-07:00And about AI versus AI, MTG Forge can't do that. ...And about AI versus AI, MTG Forge can't do that. I can tweak the AI as I see it while playtesting (which I do alot) and that makes the computer more believable.Forgehttps://www.blogger.com/profile/15838286606081721333noreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-30801879073853030882007-07-02T09:39:00.000-07:002007-07-02T09:39:00.000-07:00Thanks for all the comments.Question: How do I imp...Thanks for all the comments.<BR/><BR/>Question: How do I import images for the cards that still don't have them. I mean, I downloaded the images but there are still a few cards without graphics. <BR/><BR/>I think the new version of MTG Forge has pictures for all the cards. You can manually add/change cards pictures. The filename has to be exact, remove all commas, spaces are converted into _ I hope that helps.<BR/><BR/>I think about the AI, but other than some specifics, like Stuffy Doll, it generally does ok, so I am very happy with that. I want the computer to play instants and abilities better though.<BR/><BR/>And nanocore, just don't crash while you are doing all of that thinking, lol.Forgehttps://www.blogger.com/profile/15838286606081721333noreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-321340454963676052007-06-30T18:37:00.000-07:002007-06-30T18:37:00.000-07:00I don't think that "improving" on the ai is really...I don't think that "improving" on the ai is really needed. Like you said, "kid brother" status. I think that it's fine the way it is for now. You should devote your time on this project to other areas.<BR/><BR/>Question: How do I import images for the cards that still don't have them. I mean, I downloaded the images but there are still a few cards without graphics. I manually placed a picture of the card in the directory but nothing. A little help?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-66681408791757256332007-06-28T19:45:00.000-07:002007-06-28T19:45:00.000-07:00Personally, I like the challenge that MTG poses fo...Personally, I like the challenge that MTG poses for developing an AI. But, the ROI may not be worth it, unless you really do it right. I just drove 6 hours across country and didn't have the radio on because I was engrossed in thinking through some of the details on how I would program the AI. Great FUN! and made the time fly by. But, that is not for everyone.Nanocorehttps://www.blogger.com/profile/06022572093437822303noreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-46404185904505682202007-06-28T11:29:00.000-07:002007-06-28T11:29:00.000-07:00I am really happy with the AI. My biggest wish is ...I am really happy with the AI. My biggest wish is to have more cards to choose and draft from. I am really happy with the entire project and thank you for putting the time in to make it. Since I am on a Mac I cannot use Magic Online and this is by far the best program that simulates the game.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-889604442512373664.post-49514937662105103952007-06-28T11:25:00.000-07:002007-06-28T11:25:00.000-07:00What I would like to see (and I don't know how har...What I would like to see (and I don't know how hard this would be to implement) would be a way to play one computer AI against another. In other words, that the human player could easily be swapped out with a computer player.<BR/><BR/>If you could play one AI against another, you could make small changes in the AI and see how useful they are. For example, is it better to use some combination of attack and defense for targeting rather than just defense?<BR/><BR/>My thinking was if a computer AI could play against computer AI, then you could craft an AI that would take the current game state and copy it, using a deck and hand for the opponent that is a best guess. Then the computer could play through a turn with a few options and see which ended up being the best.<BR/><BR/>The only thing so far that really jumped out at me as far as needing improvement was the AI for dealing with "Stuffy Doll."Anonymoushttps://www.blogger.com/profile/05506228404309934046noreply@blogger.com