Screenshots
An original game by ubeefx
Moderators: ubeefx, CCGHQ Admins
Re: Screenshots
by ubeefx » 08 Oct 2022, 14:16
This is a nice example of complex game state, the AI keeps running well in the latest release.
When it is winning, the AI sometimes keeps dragging the game to win even more.
Use this feature to your advantage.
When it is winning, the AI sometimes keeps dragging the game to win even more.
Use this feature to your advantage.
Re: Screenshots
by Aswan jaguar » 08 Oct 2022, 14:58
I have seen that in magarena years ago and reported that back then, maybe give AI extra bonus for winning and -bonus for turns to come. I remember AI had me in the ropes big time and was stalling till I draw a board wiper and won that game.ubeefx wrote:When it is winning, the AI sometimes keeps dragging the game to win even more.
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
Aswan jaguar - Super Tester Elite
- Posts: 8094
- Joined: 13 May 2010, 12:17
- Has thanked: 732 times
- Been thanked: 466 times
Re: Screenshots
by ubeefx » 09 Oct 2022, 07:59
I can give some more in depth information about this behavior.
First, Mad Wizard is a years-long evolution of Magarena, this also applies for the AI.
There are currently two difficulties, low and high.
Low difficulty will look for 2 main phases with 5 second thinking time.
High difficulty will look for 6 main phases with 10 second thinking time.
When the thinking time is passed, the AI will pick whatever it thinks is best at that moment.
This can explain for complex state that it chooses something non optimal.
The low difficulty needs to look less far ahead, so it will have less chance to timeout.
This mainly applies for MiniMax, Vegas just runs simulations until it thinks it knows what to do.
The other reason is the lookahead of 6 main phases or around 3 turns.
The AI does not take into account hidden state like drawing a board wiper.
So by just scoring the game state it could think by taking the extra turn it wins even more.
For instance by playing some more creatures or dealing even more damage.
There is actually some code in place to prevent this in the scoring, here is the comment in code.
This problem should not occur with low difficulty as that only looks for 2 main phases or around 1 turn.
First, Mad Wizard is a years-long evolution of Magarena, this also applies for the AI.
There are currently two difficulties, low and high.
Low difficulty will look for 2 main phases with 5 second thinking time.
High difficulty will look for 6 main phases with 10 second thinking time.
When the thinking time is passed, the AI will pick whatever it thinks is best at that moment.
This can explain for complex state that it chooses something non optimal.
The low difficulty needs to look less far ahead, so it will have less chance to timeout.
This mainly applies for MiniMax, Vegas just runs simulations until it thinks it knows what to do.
The other reason is the lookahead of 6 main phases or around 3 turns.
The AI does not take into account hidden state like drawing a board wiper.
So by just scoring the game state it could think by taking the extra turn it wins even more.
For instance by playing some more creatures or dealing even more damage.
There is actually some code in place to prevent this in the scoring, here is the comment in code.
- Code: Select all
Loss score is modified in function of the turn and phase when it occurs. Encourages AI to win as fast as possible.
This problem should not occur with low difficulty as that only looks for 2 main phases or around 1 turn.
Re: Screenshots
by ubeefx » 12 Oct 2022, 18:25
Some screens and articles about legacy Magarena can be found here.
https://mtgrares.blogspot.com/search?q=magarena
These are some screens from the remake release Magarena 2.0.
https://mtgrares.blogspot.com/search?q=magarena
These are some screens from the remake release Magarena 2.0.
Re: Screenshots
by ubeefx » 31 Oct 2022, 07:40
Crazy interaction in Dreamwalkers.
Golden Dragon first uses rebirth on Demon Horde for four twin triggers.
Then the copies target Demon Lord for double absorb triggers.
They target each other with absorb for growing larger and larger.
Golden Dragon first uses rebirth on Demon Horde for four twin triggers.
Then the copies target Demon Lord for double absorb triggers.
They target each other with absorb for growing larger and larger.
Who is online
Users browsing this forum: No registered users and 0 guests