
And finally the bad news, the computer still does a few stupid things. The AI doesn’t take into account activated abilities or a creatures “worth”. The AI sees Royal Assassin, Soul Warden, and Eager Cadet as all the same, just a 1/1 creature. On the bright side the AI does take into account first strike, double strike, deathtouch, and flying. Occasionally, 20% of the time, the computer will block a non-flyer with a flyer or not attack with a creature just to surprise you.
The computer also checks to see if it can win the game by attacking with all of its creatures. I nicknamed this “assault attacking” in my code. The programming is a little tricky because it presumes that the biggest attacking creatures will be chump blocked.
5 comments:
-The computer also checks to see if it can win the game by attacking with all of its creatures. I nicknamed this “assault attacking” in my code.
However, it seems to be missing "anti-assult blocking" code, i.e. when I attack with a 5 4/4's it doesn't block anything with its 1/1.
Hi, I just downloaded this. However, the pictures aren't showing up. Did I do something wrong?
If you haven't found it yet, there's a menu function to download the card pics. It takes a while, give it at least 5 - 10 minutes even on a cable modem.
D'oh!
Yeah, got it.
Thank you so much for making this whole thing, it's inspired tons of new strategies!
Keep up the awesome work! : )
"However, it seems to be missing "anti-assult blocking" code, i.e. when I attack with a 5 4/4's it doesn't block anything with its 1/1."
I did find this mistake and it is fixed on my home computer, I'll release a new version of MTG Forge soon. I'm still trying to perfect the attacking and blocking code.
Post a Comment