Quantcast
Channel: stardot.org.uk
Viewing all articles
Browse latest Browse all 3537

new projects in development: games • Re: Slot Machine in Basic

$
0
0
Interesting project :+1:

Are you calculating the chances of the win based on (price per play * payout percentage) / win value ?

Or is the win percentage just a factor of the number of symbol types on each reel ?

I went with the first one. I did write an C# algorithm that was based on my basic code, which ran for 1 million spins, this was the result

Image1.png

C# source code can be found here

https://github.com/fizgog/Slot-Algorithm

At the moment the number of spins and new symbols along the top are randomly generated, not sure if I need to switch to a fixed reel, with a list of static symbols on like the mechanical slots used to be like.

Statistics: Posted by fizgog — Tue Dec 03, 2024 9:20 am



Viewing all articles
Browse latest Browse all 3537