*Author

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg394776#msg394776
« on: September 18, 2011, 07:29:04 am »
Introducing the XenoSimâ„¢!

Using the slot machine algorithm provided by Dark Weaver, I wrote a small (actually, it's gotten quite large) program to simulate how many cards would be won in a certain number of games against a given deck.

>> Open the XenoSimâ„¢ in a new window << (http://xenocidius.webs.com/slotmachinesimulator.htm)

Basically, you copy and paste a deck code, enter the amount of games you would like to win, and it will run a simulation, then return the number of cards it won and the number of games in which it won a card.

It can handle 10000 games pretty soundly, but can get quite slow with significantly higher numbers.

Thoughts? Queries? Suggestions?

Thanks to:
  • Dark Weaver: for providing the algorithm and correcting mine.
  • Jenkar: for helping me with (by which I mean making) the card database.
  • Malignant: for assisting and hindering us.
  • Bhlewos: for coming up with the name.
  • light_sefi: for inspiring me to make it in the first place.
Don't cry because it's over, smile because it happened.

Offline PlayerOa

  • Master of Time
  • *
  • ******
  • Posts: 2720
  • Country: no
  • Reputation Power: 41
  • PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.PlayerOa soars like the Phoenix, unable to be repressed.
  • Time will show
  • Awards: Slice of Elements 13th Birthday CakeSlice of Elements 12th Birthday CakeWeekly Tournament Winner (2020.12.20.)14th Trials - Master of Time2nd Elements Reunion Day Tournament WinnerSlice of Elements 11th Birthday CakeElements League 3/2019 1st Place13th Trials - Master of TimeWinner of Elements Infinity War #1Silver DonorWeekly Tournament WinnerWeekly Tournament WinnerElements League 2/2019 1st PlaceWeekly Tournament WinnerWeekly Tournament WinnerElements League 1/2019 3rd PlaceSlice of Elements 10th Birthday Cake1st Elements Reunion Day Tournament WinnerWeekly Tournament Winner7th Trials - Master of TimeWeekly Tournament WinnerSlice of Elements 3rd Birthday CakeWar #4 Winner - Team DeathWeekly Tournament WinnerMS Paint Card Art #4 WinnerSlice of Elements 2nd Birthday Cake
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg394777#msg394777
« Reply #1 on: September 18, 2011, 07:30:41 am »
Awesome work, Xeno.
War #3 - Life || War #4 - Death || War #5, #6, #7, #9, #13, #14 - Time || War #8, #12 - Air

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398325#msg398325
« Reply #2 on: September 24, 2011, 06:18:49 am »
Updated! It is now in Gamma (I'm not that familiar with version naming, but whatever)!

The new version can be found here (http://xenocidius.webs.com/simulator.htm).

New features:
  • A full table of different cards won
  • A pretty background
Be sure to post suggestions for new features and general feedback.
Don't cry because it's over, smile because it happened.

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398396#msg398396
« Reply #3 on: September 24, 2011, 11:24:28 am »
Another update.

New features:
  • Countless bug fixes
  • Support for Relics
I'm also considering adding an index of every card in the game. This would also allow me to add an option to select whether the spin allows upgraded cards, and would automatically downgrade them if not. It would also replace the ugly card code in the output table with the card name.

Thoughts?
Don't cry because it's over, smile because it happened.

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398508#msg398508
« Reply #4 on: September 24, 2011, 02:58:44 pm »
Awesome Update Alert

It is now in Delta.

New features:
  • Shows the name of each card won
  • Shows extra electrum won from spins (5 :electrum for each matchup of 2 + sell prices for cards won)
  • Shows extra electrum won per game on average
Don't cry because it's over, smile because it happened.

Offline Bhlewos

  • Sr. Member
  • ****
  • Posts: 680
  • Reputation Power: 10
  • Bhlewos is taking their first peeks out of the Antlion's burrow.Bhlewos is taking their first peeks out of the Antlion's burrow.
  • Cautiously returning to the game
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398855#msg398855
« Reply #5 on: September 25, 2011, 01:44:02 am »
Awesome work, Xeno, +rep.

One question -- I input Decay's deck in here, and got back an "undefined". I thought it might be the mark so I took that out, but I still got the result:



Here's the deck for reference.

Hover over cards for details, click for permalink
Deck import code : [Select]
7t6 7t6 7t6 7t6 7t6 7t6 7t8 7t9 7t9 7ta 7tc 7tc 7tc 7tc 7tc 7tc 808 808 808 808 808 808 808 80e 80i 80i 80i 80i 80i 80i 8pt


EDIT: Actually, by process of elimination, it seems to be Eclipse?

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398857#msg398857
« Reply #6 on: September 25, 2011, 01:46:46 am »
Yep, that's Eclipse. It must not be in the database - I'll put it in. Thanks. :)

Edit: Fixed. It should work now.
Don't cry because it's over, smile because it happened.

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398885#msg398885
« Reply #7 on: September 25, 2011, 03:39:26 am »
What's this, another update?

New features:
  • There is now an option to select whether the spin allows upgraded cards to be won
  • Upgraded card names are bolded
And now it does everything I originally intended it to do, so I guess it's in Omega.

I hope you enjoy the tool.
Don't cry because it's over, smile because it happened.

Offline rosutosefi

  • Sr. Member
  • ****
  • Posts: 727
  • Reputation Power: 10
  • rosutosefi is taking their first peeks out of the Antlion's burrow.rosutosefi is taking their first peeks out of the Antlion's burrow.
  • Dead.
  • Awards: Slice of Elements 2nd Birthday Cake
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg398888#msg398888
« Reply #8 on: September 25, 2011, 03:43:49 am »
Like my card spin simulator, with 9001x user-friendliness  :D
Not so active.

Offline XenocidiusTopic starter

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg399021#msg399021
« Reply #9 on: September 25, 2011, 11:21:48 am »
Oh well, there's always time for one more update.

New features:
  • Export forum code: Create a copy-paste-able code for easy copy-pasting into the Forums!
  • Version update: Supports 1.29
Here's an example of the code created by the program:

Hover over cards for details, click for permalink
Deck import code : [Select]
61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61o 61q 61q 61q 61r 61r 61s 61s 61t 61t 61t 61t 61t 61u 61u 61v 61v 61v 620 620 620 620 623 623 623 623 624 624 8pu

Runs: 100000
Upgraded spin: No

Cards won: 41315
Cards per game: 0.413
Droprate (%): 33.584

Extra electrum won: 2365006
Extra electrum per game: 23.65

Card
Won (total)
% of all cards won
Won (per game)
Aether Pillar3940.950.004
Lightning424910.280.042
Parallel Universe23135.600.023
Immortal23155.600.023
Dimensional Shield970223.480.097
Lobotomizer23585.710.024
Phase Dragon430610.420.043
Phase Spider667416.150.067
Mindgate674516.330.067
Silence22595.470.023
Don't cry because it's over, smile because it happened.

Offline rosutosefi

  • Sr. Member
  • ****
  • Posts: 727
  • Reputation Power: 10
  • rosutosefi is taking their first peeks out of the Antlion's burrow.rosutosefi is taking their first peeks out of the Antlion's burrow.
  • Dead.
  • Awards: Slice of Elements 2nd Birthday Cake
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg399053#msg399053
« Reply #10 on: September 25, 2011, 12:52:49 pm »
Play 1000000 games!
It only lasts 1-2 mins. ;D
Not so active.

Offline Bhlewos

  • Sr. Member
  • ****
  • Posts: 680
  • Reputation Power: 10
  • Bhlewos is taking their first peeks out of the Antlion's burrow.Bhlewos is taking their first peeks out of the Antlion's burrow.
  • Cautiously returning to the game
Re: Elements Slot Machine Simulator https://elementscommunity.org/forum/index.php?topic=31106.msg399236#msg399236
« Reply #11 on: September 25, 2011, 08:00:21 pm »
=O You used my nickname for the "XenoSim"! =D

Just out of curiosity, I took a list of the card droprates of all the False Gods then ranked them from highest droprate to lowest -- plus most-won card, just because. 10,000 runs for all of them.

False GodCard DroprateMost Won Card
Divine Glory48.76Morning Glory
Decay45.50Fractal
Octane44.29Unstable Gas
Jezebel43.33Nymph's Tears
Akebono42.82Massive Dragon
Eternal Phoenix41.83Minor Phoenix
Osiris41.50Pharaoh
Hecate41.40Voodoo Doll
Fire Queen40.16Feral Bond
Gemini39.14Twin Universe
Serket38.41Deathstalker
Incarnate37.91Vampire
Obliterator37.86Elite Shrieker
Graviton37.23Graviton Firemaster
Paradox36.70Improved Blessing/Elite Deja Vu (tie)
Lionheart36.69Crusader
Neptune36.47Shockwave
Destiny35.66Fate Egg
Ferox35.39Ray of Light
Seism33.57Elite Graboid
Dark Matter33.23Black Hole
Chaos Lord32.58Supernova/Ray of Light (tie)
Morte31.97Retrovirus
Hermes31.28Lava Destroyer
Elidnis30.91Forest Spectre
Dream Catcher30.88Supernova
Miracle30.49Elite Queen
Scorpio30.26Pufferfish
Rainbow29.58Electrum Hourglass
A few things:
  • 10k runs still isn't the most accurate, so take these with a grain of salt, but only a grain. Running multiple tests on the same False God, for example, gave a max of 1 percent difference either way, so these can be taken to be pretty accurate.
  • Matches up with experience as well. For example any long-time veteran FG farmer can tell you Divine Glory and Decay have the best droprates, whereas Rainbow is the clear loser of the bunch (as if anyone needed another reason to skip him).
  • Most won cards shouldn't be seen as anything other than a ballpark. While some (Pharaoh for Osiris and Graviton Firemaster for Graviton) were pretty obvious -- both approached 50% out of the cards won -- others, like Supernova for Dream Catcher, were pretty close to the "second place" cards and could will be different for new tests.
  • I found two more cards that the XenoSim registers as "undefined" -- Crusader and Condor.

 

blarg: Bhlewos,Xenocidius