Implementing ante
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
45 posts
• Page 2 of 3 • 1, 2, 3
Re: Implementing ante
by slapshot5 » 17 Dec 2011, 13:39
It's a matter of passing in a true vs. false. Changing it is about as easy as it gets.Chris H. wrote:Buying it back at the card shop may not require too much coding.
-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
by 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
by 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
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
by 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
by slapshot5 » 17 Dec 2011, 23:56
That sounds reasonable. I shall make it so for both Compy and Human.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.
-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
by moomarc » 18 Dec 2011, 00:09
How's that reasonable? Just this morning the compy was telling me that it would love to trade its moxen for my basic landsslapshot5 wrote:That sounds reasonable. I shall make it so for both Compy and Human.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.
-Marc
-

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
by jendave » 18 Dec 2011, 00:18
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.moomarc wrote:How's that reasonable? Just this morning the compy was telling me that it would love to trade its moxen for my basic landsslapshot5 wrote:That sounds reasonable. I shall make it so for both Compy and Human.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.
Re: Implementing ante
by 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
by 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.
-

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
by slapshot5 » 18 Dec 2011, 04:37
After shuffling and cutting I believe. So, we're already not perfect.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.
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
by 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
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
by 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?
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
by slapshot5 » 18 Dec 2011, 05:11
To the game log? Good idea. I'll do that now?friarsol wrote:Would love to see the ante-d cards posted to the logs
Not sure what this part means.before we get a zone for them.
-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
by friarsol » 18 Dec 2011, 14:48
Oh I think I just forgot to enable it in the settings.slapshot5 wrote:To the game log? Good idea. I'll do that now?friarsol wrote:Would love to see the ante-d cards posted to the logsNot sure what this part means.before we get a zone for them.
-slapshot5
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Implementing ante
by 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
45 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 14 guests