*Author

Offline Korugar

  • Hero Member
  • *****
  • Posts: 1153
  • Country: us
  • Reputation Power: 14
  • Korugar is taking their first peeks out of the Antlion's burrow.Korugar is taking their first peeks out of the Antlion's burrow.
  • A sporadic participant who loves Gravity.
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401727#msg401727
« Reply #12 on: September 30, 2011, 06:52:07 pm »
Hmm....it might be better to randomize only half of the discards, or something, as losing cards that one had to spend a large amount of time and money on getting would be quite frustrating. I certainly see how you want to make it possible to lose them, but if a loss almost definitely means you're going to lose at least one rare card(I'm just going off of approximate odds) later in the game, that could be a problem. Unless you want it to be easier to permanently kill someone whose element is being destroyed, which is not a bad idea, to make there be more of an endgame.

Scaredgirl

  • Guest
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401758#msg401758
« Reply #13 on: September 30, 2011, 07:53:50 pm »
Hmm....it might be better to randomize only half of the discards, or something, as losing cards that one had to spend a large amount of time and money on getting would be quite frustrating. I certainly see how you want to make it possible to lose them, but if a loss almost definitely means you're going to lose at least one rare card(I'm just going off of approximate odds) later in the game, that could be a problem. Unless you want it to be easier to permanently kill someone whose element is being destroyed, which is not a bad idea, to make there be more of an endgame.
Hm.. that is a good point. The basic philosophy should definitely be less about losing stuff like cards, and more about losing only time. It's much better to design a game/event so that losing a battle only makes you stay where you are, instead of taking steps back.

I wonder if there was a simple way of making some cards less likely to be included in the discard? Sounds like it would be pretty complex/time-consuming to code though. How about adding a list of codes (cards) that won't be added in the final code? That sounds a bit easier imo.

Offline Jocko

  • Hero Member
  • *****
  • Posts: 1256
  • Country: ar
  • Reputation Power: 19
  • Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.
  • New to Elements
  • Awards: Slice of Elements 4th Birthday CakeWar #5 Winner - Team AetherSlice of Elements 3rd Birthday CakeHoliday Fun Redux! Winner
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401763#msg401763
« Reply #14 on: September 30, 2011, 08:10:37 pm »
Why don't making salvage random and discard at player's choice?

Offline bored_ninja777

  • Hero Member
  • *****
  • Posts: 1080
  • Reputation Power: 13
  • bored_ninja777 is taking their first peeks out of the Antlion's burrow.bored_ninja777 is taking their first peeks out of the Antlion's burrow.
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401770#msg401770
« Reply #15 on: September 30, 2011, 08:23:52 pm »
Why don't making salvage random and discard at player's choice?
so one big if statement saying.. if the card code selected at random = this.. this.. this.. X however many cards.... dont use it.. find a new one? could be more time consuming as far as runtime.. and also would have to have list of every single card code just to put those in.. and who decides which cards can and cant be lost?
~McPasty was here~

Offline Gocubbies1212

  • Hero Member
  • *****
  • Posts: 1061
  • Country: us
  • Reputation Power: 13
  • Gocubbies1212 is taking their first peeks out of the Antlion's burrow.Gocubbies1212 is taking their first peeks out of the Antlion's burrow.
  • Proudly took 4th place in CL 2010
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401776#msg401776
« Reply #16 on: September 30, 2011, 08:40:22 pm »
when do we start using this?  next round?
[02:20:36] jmdt: i think gocubbies will win the underworld tourny
I failed to account for the gocubbies factor. - Boingo
I like to make flying weapons decks.

Offline Captain Scibra

  • Hero Member
  • *****
  • Posts: 1345
  • Reputation Power: 20
  • Captain Scibra is a Mummy waiting to discover the path to glory.Captain Scibra is a Mummy waiting to discover the path to glory.Captain Scibra is a Mummy waiting to discover the path to glory.Captain Scibra is a Mummy waiting to discover the path to glory.
  • Do Domhantarraingt. Dúinn go léir.
  • Awards: Slice of Elements 7th Birthday Cake8th Trials - Master of GravitySlice of Elements 3rd Birthday Cake
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401789#msg401789
« Reply #17 on: September 30, 2011, 09:13:35 pm »
Looks awesome.
Rule #1: The Captain is never wrong.  Rule #2: If the Captain is wrong, refer to Rule #1.
The New Card Theory Thread

Offline Jocko

  • Hero Member
  • *****
  • Posts: 1256
  • Country: ar
  • Reputation Power: 19
  • Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.
  • New to Elements
  • Awards: Slice of Elements 4th Birthday CakeWar #5 Winner - Team AetherSlice of Elements 3rd Birthday CakeHoliday Fun Redux! Winner
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401830#msg401830
« Reply #18 on: September 30, 2011, 10:25:21 pm »
Why don't making salvage random and discard at player's choice?
so one big if statement saying.. if the card code selected at random = this.. this.. this.. X however many cards.... dont use it.. find a new one? could be more time consuming as far as runtime.. and also would have to have list of every single card code just to put those in.. and who decides which cards can and cant be lost?
Have you even read what i said?
Randomize the salvaging process, which can already be done with the current software, and leave discard mechanism unchanged, each player manually discarding at their own choice.

Offline bored_ninja777

  • Hero Member
  • *****
  • Posts: 1080
  • Reputation Power: 13
  • bored_ninja777 is taking their first peeks out of the Antlion's burrow.bored_ninja777 is taking their first peeks out of the Antlion's burrow.
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401837#msg401837
« Reply #19 on: September 30, 2011, 10:33:01 pm »
i misquoted.. meant to quote SG ... ur idea wont work.. they already said that if players choose they will never lose anything important..
~McPasty was here~

Offline YoungSot

  • Hero Member
  • *****
  • Posts: 1213
  • Reputation Power: 18
  • YoungSot is a Blue Crawler starting to think about his first run.YoungSot is a Blue Crawler starting to think about his first run.YoungSot is a Blue Crawler starting to think about his first run.
  • SootySot!
  • Awards: Slice of Elements 3rd Birthday Cake5th Trials - Master of FireWeekly Tournament WinnerWeekly Tournament WinnerSlice of Elements 2nd Birthday Cake
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401841#msg401841
« Reply #20 on: September 30, 2011, 10:42:37 pm »
I already posted about this in the general feedback thread, but looks like we're discussing it here. I agree with the sentiment that it is better if losing a battle doesn't set you back too far. I think random discards are good, but I think that they should be MUCH smaller than the 12 discards required now. Personally, I think something in the area of 3 to 6 random discards would be good. Enough that you have a chance of losing a rare, and you'll still need to take some time to repair your deck, but not so much that you hesitate to engage in battle for fear of losing multiple weeks worth of cards.

Combat is fun. We don't want to discourage it with too heavy consequences for loss.

Offline Jocko

  • Hero Member
  • *****
  • Posts: 1256
  • Country: ar
  • Reputation Power: 19
  • Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.Jocko is a Blue Crawler starting to think about his first run.
  • New to Elements
  • Awards: Slice of Elements 4th Birthday CakeWar #5 Winner - Team AetherSlice of Elements 3rd Birthday CakeHoliday Fun Redux! Winner
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg401906#msg401906
« Reply #21 on: October 01, 2011, 01:00:37 am »
Maybe the extrem of never losing anything important is bad, but working your way out to multiple rares, nymphs maybe, and geting them randomly discarded is not fun.

Offline pulli23

  • Full Member
  • ***
  • Posts: 259
  • Country: nl
  • Reputation Power: 3
  • pulli23 is a Spark waiting for a buff.
  • What's going on here?
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg402049#msg402049
« Reply #22 on: October 01, 2011, 08:46:24 am »
Hmm....it might be better to randomize only half of the discards, or something, as losing cards that one had to spend a large amount of time and money on getting would be quite frustrating. I certainly see how you want to make it possible to lose them, but if a loss almost definitely means you're going to lose at least one rare card(I'm just going off of approximate odds) later in the game, that could be a problem. Unless you want it to be easier to permanently kill someone whose element is being destroyed, which is not a bad idea, to make there be more of an endgame.
Hm.. that is a good point. The basic philosophy should definitely be less about losing stuff like cards, and more about losing only time. It's much better to design a game/event so that losing a battle only makes you stay where you are, instead of taking steps back.

I wonder if there was a simple way of making some cards less likely to be included in the discard? Sounds like it would be pretty complex/time-consuming to code though. How about adding a list of codes (cards) that won't be added in the final code? That sounds a bit easier imo.
Shouldn't be difficult, if I had a host I'd post a simple program too.
Though without the original poster can update it to have a weighted card record, it basiccally boils down  to giving each card a "number/weight". Say card 1 weight 1, card 2 weight 2 and card 3 "1". (This would mean card 2 is 2 times as likely to pop up).. Then you sum the weights of all cards: 1+2+1 = 4. Take a random number between [0 , 4) (0 and sum of weights).
Now you "walk" through the cards again, full "code":
Code: [Select]
//pseudo code
total_weight = 0;
for all cards i
    total_weight += i.weight

random_number = random(total_weight);
val = 0;
current_card = 1;
for all cards i
    if (random is between val & i.weight)
        return i; //i is the one to remove
    val += i.weight;


Though maybe I may suggest another thing: the randomizer picks 3 cards, and then the user may select which one of those 3. This wouldn't put so much stress on the weight system.

Offline Essence

  • Legendary Member
  • ******
  • Posts: 4340
  • Country: us
  • Reputation Power: 57
  • Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.Essence is truly a Titan, worthy of respect and acknowledgement.
  • Voice of the Oracle -- Jezzie's Pimp -- Often Gone
  • Awards: 2nd Trials - Master of Water1st Trials - Master of WaterFG Deck-Designer - The OutcastsShard Madness! Competition WinnerEpic 3 Card Design Competition WinnerElder Recruiter
Re: CODING PROJECT: Card Discarder https://elementscommunity.org/forum/index.php?topic=31746.msg402382#msg402382
« Reply #23 on: October 01, 2011, 10:59:19 pm »
This should be simple enough to code.  Every time you discard/salvage, have the program multiply the incidence of each Epic card by zero (you cannot lose Epic cards), the Rare cards by 1, the Uncommon cards by 2, and the Common cards by 4.

That gives you a significantly smaller chance of losing a card you've put time and effort into obtaining, but still makes it possible. It also gives a mechanical reason to stick at least a couple of Common cards in a deck that might otherwise be loaded with Rares.
If something happens and you think it deserves my attention, feel free to PM me. Other than that, I'm probably here if you want to shoot the breeze.

 

anything
blarg: