Jimmy21
Jimmy21
  • Threads: 2
  • Posts: 14
Joined: Nov 15, 2021
March 15th, 2022 at 7:02:57 AM permalink
I'm trying to recreate a slot machine on my computer using python. I'm trying to get it to get the exact numbers shown on the par sheet and it's not quite there and I can't figure out what I'm doing wrong


I downloaded BLACK GOLD / MIXED BLACK GOLD COLORED BARS from here:

forum/gambling/slots/33871-bally-par-sheets/

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 643
BLACK GOLD (BG) 111
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6219
Joined: Jun 22, 2011
March 15th, 2022 at 7:19:22 AM permalink
Quote: Jimmy21

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 6 4 3
BLACK GOLD (BG) 1 1 1
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post


The 2-coin paytable is listed on the PAR sheet, in the columns to the right (5000 for the jackpot, 229 for three triple bars, 239 for two black gold and one triple bar (in any order), and so on). Are you using those? 94.74% is what you should get using the 1-coin paytable.
DRich
DRich
  • Threads: 86
  • Posts: 11596
Joined: Jul 6, 2012
March 15th, 2022 at 7:39:20 AM permalink
Quote: Jimmy21

I'm trying to recreate a slot machine on my computer using python. I'm trying to get it to get the exact numbers shown on the par sheet and it's not quite there and I can't figure out what I'm doing wrong


I downloaded BLACK GOLD / MIXED BLACK GOLD COLORED BARS from here:

forum/gambling/slots/33871-bally-par-sheets/

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 643
BLACK GOLD (BG) 111
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post



If each reel only has 72 stops don't do a simulation. Just run each reel stop from 1..72, 1..72, 1..72 for a total of 373248 outcomes and that will give you the exact result.
At my age, a "Life In Prison" sentence is not much of a deterrent.
billryan
billryan
  • Threads: 240
  • Posts: 16282
Joined: Nov 2, 2009
March 15th, 2022 at 7:47:49 AM permalink
Quote: DRich

Quote: Jimmy21

I'm trying to recreate a slot machine on my computer using python. I'm trying to get it to get the exact numbers shown on the par sheet and it's not quite there and I can't figure out what I'm doing wrong


I downloaded BLACK GOLD / MIXED BLACK GOLD COLORED BARS from here:

forum/gambling/slots/33871-bally-par-sheets/

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 643
BLACK GOLD (BG) 111
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post



If each reel only has 72 stops don't do a simulation. Just run each reel stop from 1..72, 1..72, 1..72 for a total of 373248 outcomes and that will give you the exact result.
link to original post




Now that you have retired, this looks like a fun way to while away the afternoon before hitting the early bird special.
The difference between fiction and reality is that fiction is supposed to make sense.
DRich
DRich
  • Threads: 86
  • Posts: 11596
Joined: Jul 6, 2012
March 15th, 2022 at 8:23:33 AM permalink
Quote: billryan

Quote: DRich

Quote: Jimmy21

I'm trying to recreate a slot machine on my computer using python. I'm trying to get it to get the exact numbers shown on the par sheet and it's not quite there and I can't figure out what I'm doing wrong


I downloaded BLACK GOLD / MIXED BLACK GOLD COLORED BARS from here:

forum/gambling/slots/33871-bally-par-sheets/

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 643
BLACK GOLD (BG) 111
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post



If each reel only has 72 stops don't do a simulation. Just run each reel stop from 1..72, 1..72, 1..72 for a total of 373248 outcomes and that will give you the exact result.
link to original post




Now that you have retired, this looks like a fun way to while away the afternoon before hitting the early bird special.
link to original post



Bill, if you are referring to me sadly I am not retired. I no longer work in casino gaming but sadly I still work every day from home. Fortunately a lot of my day is spent in swimming suit and flip flops by the pool with my laptop.
At my age, a "Life In Prison" sentence is not much of a deterrent.
Jimmy21
Jimmy21
  • Threads: 2
  • Posts: 14
Joined: Nov 15, 2021
March 15th, 2022 at 8:28:12 AM permalink
Quote: ThatDonGuy

Quote: Jimmy21

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 6 4 3
BLACK GOLD (BG) 1 1 1
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post


The 2-coin paytable is listed on the PAR sheet, in the columns to the right (5000 for the jackpot, 229 for three triple bars, 239 for two black gold and one triple bar (in any order), and so on). Are you using those? 94.74% is what you should get using the 1-coin paytable.
link to original post



I was just using the 1 coin pay table. I'm just trying to make sense of it all. Its starting to make more sense. I dont see the 239 for two black gold and one triple bar
Jimmy21
Jimmy21
  • Threads: 2
  • Posts: 14
Joined: Nov 15, 2021
March 15th, 2022 at 8:30:24 AM permalink
Quote: DRich

Quote: Jimmy21

I'm trying to recreate a slot machine on my computer using python. I'm trying to get it to get the exact numbers shown on the par sheet and it's not quite there and I can't figure out what I'm doing wrong


I downloaded BLACK GOLD / MIXED BLACK GOLD COLORED BARS from here:

forum/gambling/slots/33871-bally-par-sheets/

I put in all 72 possibilities for each reel:

SINGLE BAR (1C) 16 18 20
DOUBLE BAR (2C) 13 7 4
TRIPLE BAR (3C) 643
BLACK GOLD (BG) 111
BLANK 36 42 44

and put in the payable listed. Then I had it run 10,000,000 times and each time, it seems to converge on 94% payback. It's not too far off the listed 95.13%, but it seems far enough off that I must have something off. Is there anything more that I'm missing? There is something about the pay being slightly different for 2 coins, but I didn't know what changes to make
link to original post



If each reel only has 72 stops don't do a simulation. Just run each reel stop from 1..72, 1..72, 1..72 for a total of 373248 outcomes and that will give you the exact result.
link to original post




That'd be good for making sure I have the paytable set up correctly, but I'm more trying to make a demonstrate of the gamblers fallacy than making sure the par sheet is accurate
heatmap
heatmap
  • Threads: 259
  • Posts: 2229
Joined: Feb 12, 2018
Thanked by
Jimmy21
March 15th, 2022 at 9:45:30 AM permalink
i dont know why but i knew i had these somewhere and couldnt seem to find my own damn post thanks for reminding me of this thread lol
Jimmy21
Jimmy21
  • Threads: 2
  • Posts: 14
Joined: Nov 15, 2021
March 15th, 2022 at 9:54:29 AM permalink
Quote: heatmap

i dont know why but i knew i had these somewhere and couldnt seem to find my own damn post thanks for reminding me of this thread lol
link to original post




It's funny reading that thread "why would anyone ever want these?!?!?" Me: "thank God someone posted these!!!!"

They are fairly useless for an average customer walking in to a casino, but there's plenty of reasons to want them. Thanks for posting them!
ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6219
Joined: Jun 22, 2011
March 15th, 2022 at 12:10:26 PM permalink
Quote: Jimmy21

Quote: ThatDonGuy


The 2-coin paytable is listed on the PAR sheet, in the columns to the right (5000 for the jackpot, 229 for three triple bars, 239 for two black gold and one triple bar (in any order), and so on). Are you using those? 94.74% is what you should get using the 1-coin paytable.
link to original post



I was just using the 1 coin pay table. I'm just trying to make sense of it all. Its starting to make more sense. I dont see the 239 for two black gold and one triple bar
link to original post


It's in the "PAY 1" column that's to the right of the "PULLS / HIT" column; it's the fifth from the right edge of the page. The rows are offset, but the top value (5000) applies to the BG BG BG result, the second row (229) to the 3C 3C 3C result, the third row (239) to the 3C BG BG result, and so on down the page.
  • Jump to: