S16s - Utter rubbish

General fruit machine related chat, if it doesn't fit another category discuss it here..
Dynamike
Senior Member
Posts: 431
Joined: Sat Apr 30, 2005 2:43 pm

Post by Dynamike »

All this comptuery jiggery-pokery is something I know nothing about, so could someone answer this in laymans terms?

If s16s are random, why do they often repeat JP within £50ish (slotto) or have good afterplay? In essence they appear to streak like a fruit machine does.
User avatar
Demmerz
Senior Member
Posts: 435
Joined: Fri Apr 29, 2005 10:58 pm
Location: North Yorks
Contact:

Post by Demmerz »

Demmerz wrote: As Chav666 said, human nature is to look for patterns. You try different patterns, then one works. So you try it again and it works again and you think you've cracked it - but you've only reached a streak of 'win' commands. Then the payout stops but you keep trying your 'tried and tested' method and before you know it you've lost all of your money.
Completely random outcome. You could have hit a win/lose cycle that works in your favour:

LLLWLLLLLLLLLLWWWWWWWLLLLLWLLLLLLL.

--------------------^^^^^^ > that's your streak :)
Still kicking about.
Mattb
Senior Member
Posts: 5809
Joined: Sat Apr 30, 2005 2:43 pm
Location: Cambridge

Post by Mattb »

Looks more like Cambridge Uniteds form last season in the conference :wink: :(

Matt
"Sixty percent of the time, it works, every time!"
chav666
Member
Posts: 79
Joined: Tue Aug 09, 2005 6:55 pm
Location: Loughborough

Post by chav666 »

Random number generators in laymens terms: -

VERY POWERFUL computer program generates an endless string of random numbers between x & y.

The user presses the start button. (this is the TRULY random element) This selects the number

The generator sends this number to the machine.

Your win (if your lucky) is displayed as pretty fruits and bouncing graphics.

You continue until bankrupt, depressed, near suicidal and in the gutter......

Oh the wonders of modern technology.
you want the truth?? you cant handle the truth!
Cash is King
Senior Member
Posts: 164
Joined: Sat Apr 30, 2005 2:42 pm

Post by Cash is King »

To crack it you would probably have to seat and watch a machine 24/7 365 days a year for about 50 years and mark down the exact time to beyond a milisecond that the button was pushed to acheive £500.

Take all your readings and calculate at what time precisly the button needs to be pushed to acheive £500 and at this stage you think to your self what was the point of that :D
Dunhamzzz
Senior Member
Posts: 1968
Joined: Sun Dec 11, 2005 1:52 am

Post by Dunhamzzz »

then brag about it on SA !!
User avatar
Matt Vinyl
Senior Member
Posts: 7198
Joined: Wed May 11, 2005 6:56 pm
Location: Lost in the outback, Bryan

Post by Matt Vinyl »

From a (mildly basic) programmers' point of view... random numbers are generated based on the computers clock. A complex algorithm (someone might want to share?) is calculated, using the millisecond 'part' of the 'current time' as the 'seed'.

Just a point to take note of... ;)

:)
"And do you ever contradict yourself, Minister?" "Well, yes and no..."
TheMission
Senior Member
Posts: 186
Joined: Sat Apr 30, 2005 2:42 pm

Post by TheMission »

Mine aren't!!
User avatar
Matt Vinyl
Senior Member
Posts: 7198
Joined: Wed May 11, 2005 6:56 pm
Location: Lost in the outback, Bryan

Post by Matt Vinyl »

I don't believe there's another way to do it then?

PM if poss, I'm not interested in S16s, just programming, and AI, and randomisation and stuff like that... ;)

:)
"And do you ever contradict yourself, Minister?" "Well, yes and no..."
TheMission
Senior Member
Posts: 186
Joined: Sat Apr 30, 2005 2:42 pm

Post by TheMission »

The algorithm I use can be done in a few assembler instructions on even the most basic processor (bear in mind there are still many Z80 and 6809 based machines out there). It uses 2^32 outcomes as I indicated previously (actually 2^32 - 1). So in actual fact not that complex at all.

It's ages since I looked at it and I hate to get the details wrong, so I'll dig it out at work tomorrow.

[Edit] It doesn't use real-time clock values, which is a bonus 'cause if you're trying to program a cheap, simple or old system you may not have one!
COASTERDESIGNERPRO1
Senior Member
Posts: 693
Joined: Mon May 23, 2005 9:52 pm
Location: Southampton

Post by COASTERDESIGNERPRO1 »

Isn't sec 16's done by a RNG and Sec 21's done by an internal clock?
TheMission
Senior Member
Posts: 186
Joined: Sat Apr 30, 2005 2:42 pm

Post by TheMission »

Matt Vinyl - checked on the RNG algorithm today and it is basically a free-running maximal LFSR as described here:

http://en.wikipedia.org/wiki/Linear_fee ... t_register

Instead of the single bit output described there though, all the binary bits are used to form a very large number which can be divided down as you wish.

For extra 'randomness', keep it free-running in hardware, or via an interrupt in software, and use some other non-predictable event to instigate taking a sample e.g. pressing the SPIN button! If you want to further modify the output via an available real-time clock value then go ahead. :wink:
Dunhamzzz
Senior Member
Posts: 1968
Joined: Sun Dec 11, 2005 1:52 am

Post by Dunhamzzz »

Dunhamzzz wrote:mate had a double off random monopoly last nite from £20, one spin after the other. 980 up. good stuff
HAH! Same guy got £500 from reel king today from just £4. Spawny git!
User avatar
Matt Vinyl
Senior Member
Posts: 7198
Joined: Wed May 11, 2005 6:56 pm
Location: Lost in the outback, Bryan

Post by Matt Vinyl »

TM - cheers for the link! Interesting stuff...!

I had a bit of a one-track mind as to how I programme things, so it's always nice to learn other techniques... ;)

:)
"And do you ever contradict yourself, Minister?" "Well, yes and no..."
mjd
Senior Member
Posts: 3076
Joined: Sat Apr 30, 2005 1:17 am

Post by mjd »

totally off the main topic, but I saw a S16 for the first time ever the other night!
A service station about 8 miles from Bradford and the 'games room' looked pretty horrifying! :lol: about 10 machines in one room, bit like PT's room! :D
boom
Locked