It is currently 25 Apr 2024, 20:25
   
Text Size

ai attacking and blocking

by BetaSteward

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

ai attacking and blocking

Postby jmartus » 12 Sep 2012, 06:49

will the ai attacking and blocking be smarter in the upcoming versions. It seams to just attack suicidal
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: ai attacking and blocking

Postby jmartus » 14 Oct 2012, 20:44

bump
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: ai attacking and blocking

Postby jeffwadsworth » 31 Oct 2012, 18:24

It now attacks and blocks a little better. No more Kamikaze attacks. At some time, the simulation (minmaxAB) should be fixed in regards to combat. It has been jacked for quite a while now. I believe .72 or so was working okay.
jeffwadsworth
Super Tester Elite
 
Posts: 1171
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 69 times

Re: ai attacking and blocking

Postby jeffwadsworth » 15 Nov 2012, 16:24

The AI will attack and block using simulation methods soon. I am just working out a way to check triggers, etc, that won't cause freezes. Look for it in the release after this one. Example log of it attacking below.

| Open
Number of potential attackers 4
Potential attacker is Korozda Monitor
Number of potential attackers 4
Potential attacker is Golgari Longlegs
Number of potential attackers 4
Potential attacker is Street Sweeper
Number of potential attackers 4
Potential attacker is Golgari Decoy
Number of blockers 3
Blocker is Axebane Guardian
Number of blockers 3
Blocker is Golgari Longlegs
Number of blockers 3
Blocker is Gobbling Ooze
Inside the attackWithGoodTrade method
The attacking player is computer
The blocking player is FRODO
The attackers are [Korozda Monitor-RTR, Golgari Longlegs-RTR, Street Sweeper-RTR, Golgari Decoy-RTR]
The attacker is Korozda Monitor
The possible blockers are [Axebane Guardian-RTR, Golgari Longlegs-RTR, Gobbling Ooze-RTR]
Inside getAttackersThatWillSurvive method
The blocker being checked is Axebane Guardian
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Korozda Monitor
The blocking creature is Axebane Guardian
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?03true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The blocker being checked is Golgari Longlegs
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Korozda Monitor
The blocking creature is Golgari Longlegs
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?53true
Attacker and Blocker? falsetrue
Attacker died? Blocker died? truefalse
The blocker being checked is Gobbling Ooze
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Korozda Monitor
The blocking creature is Gobbling Ooze
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?33true
Attacker and Blocker? falsefalse
Attacker died? Blocker died? truetrue
The Survived Attackers are [Golgari Longlegs-RTR, Gobbling Ooze-RTR]
The attacker is Golgari Longlegs
The possible blockers are [Axebane Guardian-RTR, Golgari Longlegs-RTR, Gobbling Ooze-RTR]
Inside getAttackersThatWillSurvive method
The blocker being checked is Axebane Guardian
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Longlegs
The blocking creature is Axebane Guardian
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?05true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The blocker being checked is Golgari Longlegs
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Longlegs
The blocking creature is Golgari Longlegs
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?55true
Attacker and Blocker? falsefalse
Attacker died? Blocker died? truetrue
The blocker being checked is Gobbling Ooze
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Longlegs
The blocking creature is Gobbling Ooze
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?35true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The Survived Attackers are [Golgari Longlegs-RTR]
The attacker is Street Sweeper
The possible blockers are [Axebane Guardian-RTR, Golgari Longlegs-RTR, Gobbling Ooze-RTR]
Inside getAttackersThatWillSurvive method
The blocker being checked is Axebane Guardian
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Street Sweeper
The blocking creature is Axebane Guardian
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?04true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The blocker being checked is Golgari Longlegs
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Street Sweeper
The blocking creature is Golgari Longlegs
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?54true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The blocker being checked is Gobbling Ooze
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Street Sweeper
The blocking creature is Gobbling Ooze
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?34true
Attacker and Blocker? truefalse
Attacker died? Blocker died? falsetrue
The Survived Attackers are []
No blockers survived, so add attacker to list Street Sweeper
The attacker is Golgari Decoy
The possible blockers are [Axebane Guardian-RTR, Golgari Longlegs-RTR, Gobbling Ooze-RTR]
Inside getAttackersThatWillSurvive method
The blocker being checked is Axebane Guardian
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Decoy
The blocking creature is Axebane Guardian
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?02true
Attacker and Blocker? truetrue
Attacker died? Blocker died? falsefalse
The blocker being checked is Golgari Longlegs
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Decoy
The blocking creature is Golgari Longlegs
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?52true
Attacker and Blocker? falsetrue
Attacker died? Blocker died? truefalse
The blocker being checked is Gobbling Ooze
Inside willAttackerSurvive method
The defending player is FRODO
The attacking player is computer
The attacking creature is Golgari Decoy
The blocking creature is Gobbling Ooze
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?00true
Damage on both attacker and blocker? Is attacker attacking?32true
Attacker and Blocker? falsetrue
Attacker died? Blocker died? truefalse
The Survived Attackers are [Golgari Longlegs-RTR, Gobbling Ooze-RTR]
The attackers are [Street Sweeper-RTR]
Attachments
attackexample.jpg
jeffwadsworth
Super Tester Elite
 
Posts: 1171
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 69 times

Re: ai attacking and blocking

Postby jmartus » 19 Nov 2012, 06:49

Thank you in 0.10 I have noticed it is a lot better it just beat me XD. In one game I have played it was a bit too aggressive with a creature with deathtouch and I ended up winning that one.
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: ai attacking and blocking

Postby jeffwadsworth » 20 Nov 2012, 02:01

jmartus wrote:Thank you in 0.10 I have noticed it is a lot better it just beat me XD. In one game I have played it was a bit too aggressive with a creature with deathtouch and I ended up winning that one.
Well, the current release doesn't have the sim code yet. I am working on group blocking and will commit when that is done. Real life always slows things down. The current release just attacks based on simple checks and the blocking just verify's that it can block the attacker. It will be much better soon.
jeffwadsworth
Super Tester Elite
 
Posts: 1171
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 69 times

Re: ai attacking and blocking

Postby jmartus » 09 Mar 2013, 09:52

It still seams to attack kamikaze style in the latest version
jmartus
 
Posts: 207
Joined: 11 Oct 2010, 09:25
Has thanked: 0 time
Been thanked: 7 times

Re: ai attacking and blocking

Postby LevelX » 11 Mar 2013, 13:18

jmartus wrote:It still seams to attack kamikaze style in the latest version
Sure you use 1.0.0?
In my opionon the AI is way to passive, particularly if she has superior numbers of creatures.

And don't suppose the AI will ever become a equal partner to a human player.
To be honest in my opinion the AI will never become much more than a deck testing opponent.

So our focus is to make the Human vs. Human with rule enforcement as good as possible.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times


Return to XMage

Who is online

Users browsing this forum: No registered users and 161 guests


Who is online

In total there are 161 users online :: 0 registered, 0 hidden and 161 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 161 guests

Login Form