It is currently 18 Apr 2024, 22:50
   
Text Size

Impressed by mage and how to Improve the deck editor

by BetaSteward

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

Impressed by mage and how to Improve the deck editor

Postby LevelX » 10 Dec 2011, 15:48

I recently discovered the mage project. I'm very impressed what you guys already had created.
Especially the multiplayer and tournament support and such cool features as the possibility to watch games or play sealed tournaments.

I also looked through the source code and it looks very straight and good designed to me. So I'm highly motivated to code a bit of java in my free time.

Some questions concerning the deck editor.

If I open the deck editor (without starting a limited match or a tournament), there are two additional buttons "open booster" and "clear" rightmost in the line with the color and set selectors.
I looked in the source code of CardSelector.java and saw, that always the cards for a booster pack are generated, if an expansion is selected.
But the booster cards are never displayed, because the variable "limited" is always false.

Is this an unfinished feature? How is it intended to work?

I also noticed that the color selection is different to type selection. If no color is selected, no cards are selected. If no type is selected, all cards are selected. Is this intended to behave different?

The reason for this questions is, that I've begun to improve the deck editor a little bit (like selection types and colors with modifier key will only select the type or color that was clicked, well automatically deselect the other selected items).
So I would also check if I could standardize the filter behavior if the current behavior isn't intended explicitly.

What's the preferred way to handle contributions to the source code of mage from new contributors? Just to push changes to the default (I didn't check if this is possible) or is there any other way to handle it? I'm not very familiar with Mercurial yet.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Impressed by mage and how to Improve the deck editor

Postby BryanM » 12 Dec 2011, 07:49

The booster option in the editor worked in the version prior to .8. Dunno why it was disabled; my conjecture would be due to Time Spiral's shifted cards.

(It's also odd that you can select the FNM promotional cards as a set in sealed/draft and no cards are generated by it. Personally I've nothing against making up non-existent boosters, such as with the boxed MP decks with new cards (Commander, Planechase 2012, etc). It'd be fun..)

On the topic of boosters, I've wondered if they're generated correctly; the "mythic rares come in 1-in-8 packs" is a vicious lie. The print sheets merely print all the Rares twice. So the frequency of mythics varies set to set; usually closer to 1 in 7...
Last edited by BryanM on 13 Dec 2011, 21:18, edited 1 time in total.
BryanM
 
Posts: 40
Joined: 19 Sep 2011, 23:37
Has thanked: 0 time
Been thanked: 2 times

Re: Impressed by mage and how to Improve the deck editor

Postby LevelX » 12 Dec 2011, 11:50

Thank you for the answer.

BryanM wrote:The booster option in the editor worked in the version prior to .8. Dunno why it was disabled; my conjecture would be due to Time Spiral's shifted cards.
How did it work?

I guess: If you pushed the booster button the first time, the upper card view instead of the sets only showed the content of this booster. Now you could add as many boosters as you like and all where shown in the upper view. Just as you push the clear button, the standard view of the set returns and the view of the boosters disappears.

Is that right?
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times

Re: Impressed by mage and how to Improve the deck editor

Postby BryanM » 13 Dec 2011, 21:17

That sounds correct. Same interface used in sealed/draft; the pool of opened boosters replaces the selected set view.
BryanM
 
Posts: 40
Joined: 19 Sep 2011, 23:37
Has thanked: 0 time
Been thanked: 2 times

Re: Impressed by mage and how to Improve the deck editor

Postby nantuko84 » 18 Dec 2011, 06:31

LevelX> if you want to improve deck editor, we may discuss this in google talk or skype, this way it would be more efficient. PM me here or find the email in mage google group.
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


Return to XMage

Who is online

Users browsing this forum: No registered users and 39 guests


Who is online

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

Login Form