Page 1 of 1

MAGE version 0.7 released

PostPosted: 02 Apr 2011, 03:37
by BetaSteward
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

Re: MAGE version 0.7 released

PostPosted: 02 Apr 2011, 17:33
by BetaSteward
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

Re: MAGE version 0.7 released

PostPosted: 03 Apr 2011, 03:35
by BetaSteward
MAGE version 0.7.1 is now available. This release fixes the generated deck bug in the previous version.

BetaSteward

Re: MAGE version 0.7 released

PostPosted: 03 Apr 2011, 11:20
by nantuko84
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 :)

Re: MAGE version 0.7 released

PostPosted: 03 Apr 2011, 16:06
by ubeefx
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.

Re: MAGE version 0.7 released

PostPosted: 08 Apr 2011, 21:07
by bobniborg
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.

Re: MAGE version 0.7 released

PostPosted: 09 Apr 2011, 02:04
by BetaSteward
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

Re: MAGE version 0.7 released

PostPosted: 16 Apr 2011, 15:25
by telengard
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

Re: MAGE version 0.7 released

PostPosted: 05 May 2011, 18:37
by hans2
very nice so lets try some human drafts
my server is open to join
pro1502.server4you.de