It is currently 29 Oct 2025, 12:30
   
Text Size

Implementing ante

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins

Re: Implementing ante

Postby slapshot5 » 17 Dec 2011, 13:39

Chris H. wrote:Buying it back at the card shop may not require too much coding.
It's a matter of passing in a true vs. false. Changing it is about as easy as it gets.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby friarsol » 17 Dec 2011, 13:51

Regarding how it worked in Shandalar: You never played a match, you only played a single game, so you would only be ante-ing that one time.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Implementing ante

Postby slapshot5 » 17 Dec 2011, 15:36

Here's another question that came up in my latest game. In Quest Mode, what happens if you ante a basic land (snow or non-snow) and lose?

I think it should be removed from your deck, but maybe nothing is removed from the Card Pool in this case.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby friarsol » 17 Dec 2011, 15:43

I almost feel like Basic lands shouldn't be ante-able. If I ante up a Power 9 and the AI antes up a Forest, I don't feel like I'm gaining anything useful.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Implementing ante

Postby slapshot5 » 17 Dec 2011, 23:56

friarsol wrote:I almost feel like Basic lands shouldn't be ante-able. If I ante up a Power 9 and the AI antes up a Forest, I don't feel like I'm gaining anything useful.
That sounds reasonable. I shall make it so for both Compy and Human.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby moomarc » 18 Dec 2011, 00:09

slapshot5 wrote:
friarsol wrote:I almost feel like Basic lands shouldn't be ante-able. If I ante up a Power 9 and the AI antes up a Forest, I don't feel like I'm gaining anything useful.
That sounds reasonable. I shall make it so for both Compy and Human.
How's that reasonable? Just this morning the compy was telling me that it would love to trade its moxen for my basic lands :lol:
-Marc
User avatar
moomarc
Pixel Commander
 
Posts: 2091
Joined: 04 Jun 2010, 15:22
Location: Johannesburg, South Africa
Has thanked: 371 times
Been thanked: 372 times

Re: Implementing ante

Postby jendave » 18 Dec 2011, 00:18

moomarc wrote:
slapshot5 wrote:
friarsol wrote:I almost feel like Basic lands shouldn't be ante-able. If I ante up a Power 9 and the AI antes up a Forest, I don't feel like I'm gaining anything useful.
That sounds reasonable. I shall make it so for both Compy and Human.
How's that reasonable? Just this morning the compy was telling me that it would love to trade its moxen for my basic lands :lol:
Keep in mind that the reason ante existed, according to Richard Garfield, was to discourage loading up your deck with powerful cards. Anteing up a Power 9 vs a basic land was an example of why ante was a good thing. This was of course before 60 card deck sizes, 4 of limits and ban lists.
jendave
 
Posts: 307
Joined: 01 Jun 2008, 07:19
Has thanked: 8 times
Been thanked: 21 times

Re: Implementing ante

Postby friarsol » 18 Dec 2011, 00:31

That's true. But we can take a few liberties in our implementation. I guess if one player is running 0 basics, and the other is running 24, they gain a small advantage because more of their deck is "eligible". But it's definitely something that isn't written in stone, if it seems clunky in implementation.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Implementing ante

Postby Rob Cashwalker » 18 Dec 2011, 01:53

Isn't ante just supposed to be the top card of the deck after shuffling? If it happens to be a basic land, so be it.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Implementing ante

Postby slapshot5 » 18 Dec 2011, 04:37

Rob Cashwalker wrote:Isn't ante just supposed to be the top card of the deck after shuffling? If it happens to be a basic land, so be it.
After shuffling and cutting I believe. So, we're already not perfect.

The 5-color guys ante this way (only non-<basic lands> if possible).

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby slapshot5 » 18 Dec 2011, 04:40

Ante in Quest Mode is ready for a larger testing pool. I have checked it in r12732.

1) if you win, the compy's cards will be available in your card pool after the current match
2) if you lose, your ante is permanently removed from your deck (currently not available for re-purchase in the Card Shop)
3) ante will now only be chosen from non-<basic lands> if possible

Please check the end-of-match quest screens to make sure no info is missing.
Please check cards are added and removed as expected (following the points above).
Please test with the card lost in ante in multiple decks (and with multiple copies from different sets).

Post bugs to this thread.

Note: There are no ante-specific cards currently available in Forge.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby friarsol » 18 Dec 2011, 04:58

Would love to see the ante-d cards posted to the logs before we get a zone for them.

Edit: Wait, I can't tell if this is actually on for me? Is something supposed to be visible?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Implementing ante

Postby slapshot5 » 18 Dec 2011, 05:11

friarsol wrote:Would love to see the ante-d cards posted to the logs
To the game log? Good idea. I'll do that now?

before we get a zone for them.
Not sure what this part means.

-slapshot5
slapshot5
Programmer
 
Posts: 1391
Joined: 03 Jan 2010, 17:47
Location: Mac OS X
Has thanked: 25 times
Been thanked: 68 times

Re: Implementing ante

Postby friarsol » 18 Dec 2011, 14:48

slapshot5 wrote:
friarsol wrote:Would love to see the ante-d cards posted to the logs
To the game log? Good idea. I'll do that now?

before we get a zone for them.
Not sure what this part means.

-slapshot5
Oh I think I just forgot to enable it in the settings.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Implementing ante

Postby friarsol » 19 Dec 2011, 03:37

It looks like I have the one cards in my cardPool, but they don't seem to have the New flag. Also, it would be nice if the card information was displayed in the reward panel. So I can know what the card does before I try to go chase it down in my deck editor.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 14 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 14 users online :: 0 registered, 0 hidden and 14 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 14 guests

Login Form