It is currently 18 Apr 2024, 07:39
   
Text Size

MAGE version 0.7 released

by BetaSteward

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

MAGE version 0.7 released

Postby BetaSteward » 02 Apr 2011, 03:37

The MAGE team is proud to announce the release of MAGE version 0.7

This version adds something new to the Magic world, free drafts and sealed tournaments in an online environment with full rules enforcement! Using MAGE you can now setup and run your own drafts or sealed tournaments against both human and computer opponents. If you want to improve your drafting or sealed deck skills you can play against only computer opponents. If you want to take on your friends you can do that too. Not enough players for a draft? No problem, just fill up the rest of the draft with computer opponents.

In addition to lots of new cards MAGE 0.7 also includes much improved AI opponents plus a new variant courtesy of nantuko. The AIs still need some more work but you will definitely find them more challenging than the last version. We will continue to improve them so you can look forward to even more challenging matches.

For our next release we are going to work on finishing up the most current sets and as we get the time we will add more game variants including swiss tournaments.

You can download MAGE 0.7 from http://code.google.com/p/mage/

Thanks go out to all the members of the MAGE team: nantuko, Eugen, Matt and Viserion

BetaSteward
BetaSteward
DEVELOPER
 
Posts: 129
Joined: 28 Mar 2010, 13:15
Has thanked: 6 times
Been thanked: 29 times

Re: MAGE version 0.7 released

Postby BetaSteward » 02 Apr 2011, 17:33

Sorry everyone but there is a bug that causes generated decks to occasionally fail validation. I will be uploading a new version tonight with the fix. Thanks for your patience.

BetaSteward
BetaSteward
DEVELOPER
 
Posts: 129
Joined: 28 Mar 2010, 13:15
Has thanked: 6 times
Been thanked: 29 times

Re: MAGE version 0.7 released

Postby BetaSteward » 03 Apr 2011, 03:35

MAGE version 0.7.1 is now available. This release fixes the generated deck bug in the previous version.

BetaSteward
BetaSteward
DEVELOPER
 
Posts: 129
Joined: 28 Mar 2010, 13:15
Has thanked: 6 times
Been thanked: 29 times

Re: MAGE version 0.7 released

Postby nantuko84 » 03 Apr 2011, 11:20

Btw, that's maybe interesting for someone. What we have done in version 0.7 is test framework where AI plays versus AI with predefined decks, cards and gameboard positions. It helped us a lot to find out and reproduce AI bugs we were reported previously. Actually the finest thing is that you can reproduce the same bug in the same game state over and over, debug it, fix it and check it was really fixed.

here is how it looks like in junit test:
Code: Select all
   @Test
   public void testVersusInfectCreature() throws Exception {
      useRedDefault();
      addCard(Constants.Zone.HAND, computerA, "Burn the Impure");
      addCard(Constants.Zone.BATTLEFIELD, computerB, "Tine Shrike");
      setLife(computerB, 3);

      setStopOnTurn(2);
      execute();

      assertTurn(1);
      assertResult(computerA, CardTestAPI.GameResult.WON);
      assertLife(computerA, 20);
      assertLife(computerB, 0);
      assertPermanentCount(computerB, "Tine Shrike", 0);
   }
Also there is another way to define tests in plain texts, so called scenarious:
Code: Select all
# Test playing Lightning Bolts (there was a bug with targeting players)

### ComputerA ###
# Battlefield
battlefield:ComputerA:Mountain:1

# Hand
hand:ComputerA:Mountain:2
hand:ComputerA:Lightning Bolt:5
# Library
# from down to top
library:ComputerA:clear:0
library:ComputerA:Lightning Bolt:10

### ComputerB ###
# Battlefield
battlefield:ComputerB:Plains:1
# Hand
hand:ComputerB:Plains:2
# Library
# from down to top
library:ComputerB:clear:0
library:ComputerB:Plains:10
It rocks :)
Mage\MagicWars blog: http://mwars.blogspot.com/
nantuko84
DEVELOPER
 
Posts: 266
Joined: 08 Feb 2009, 21:14
Has thanked: 2 times
Been thanked: 9 times

Re: MAGE version 0.7 released

Postby ubeefx » 03 Apr 2011, 16:06

Sounds like an interesting approach, because AI is difficult to test.
The AI vs AI feature in Magarena is a very good way to find bugs.
I usually let the AI play several games with newly implemented cards to check for issues.
Having easy to write and repeatable test scenarios is a further step.
User avatar
ubeefx
DEVELOPER
 
Posts: 748
Joined: 23 Nov 2010, 19:16
Has thanked: 34 times
Been thanked: 249 times

Re: MAGE version 0.7 released

Postby bobniborg » 08 Apr 2011, 21:07

Just ran across this. Looks good. I know you are working on the guts first, and I agree, but the card images will be a need at some point. Keep up the good work... many of are enjoying the fruits of your labor.
bobniborg
 
Posts: 7
Joined: 07 Apr 2011, 21:52
Has thanked: 0 time
Been thanked: 0 time

Re: MAGE version 0.7 released

Postby BetaSteward » 09 Apr 2011, 02:04

Hi bobniborg,

You might have missed it but there are two buttons in the upper right side of the client menu labeled "Symbols" and "Images". Clicking on Symbols will download all the set icons and mana symbol images. Clicking on Images will download all the card images (this one may take a while, currently at 1515 cards).

Thanks for your support.

BetaSteward
BetaSteward
DEVELOPER
 
Posts: 129
Joined: 28 Mar 2010, 13:15
Has thanked: 6 times
Been thanked: 29 times

Re: MAGE version 0.7 released

Postby telengard » 16 Apr 2011, 15:25

Very nice work! I love sealed drafts so I am going to give this a try.

AI -vs- AI is how most of my testing has been done for the past year. It is great for finding bugs in the engine (via asserts).

~telengard
Author of Dreamblade:
viewtopic.php?f=51&t=1215
User avatar
telengard
DEVELOPER
 
Posts: 379
Joined: 23 May 2009, 23:04
Has thanked: 2 times
Been thanked: 27 times

Re: MAGE version 0.7 released

Postby hans2 » 05 May 2011, 18:37

very nice so lets try some human drafts
my server is open to join
pro1502.server4you.de
hans2
 
Posts: 30
Joined: 05 May 2011, 18:23
Has thanked: 0 time
Been thanked: 0 time


Return to XMage

Who is online

Users browsing this forum: No registered users and 64 guests


Who is online

In total there are 64 users online :: 0 registered, 0 hidden and 64 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 64 guests

Login Form