Skip to content

defwheezer/slotMachine

Repository files navigation

slotMachine

python code for a probabilistic slot machine using Pygame and Numpy

Runs using Python v2.7, Pygame v1.9

Reels are rendered as sprites and "spun", the final image displayed is chosen based on a pre-defined probability distribution. The probability distribution can be tweaked manually using a spreadsheet program to get the desired odds.

A "bribe" is also included to entice the user to stay in the game.

The Pygame iteration of this slot machine program was designed for a Halloween theme.

Press the up arrow on keyboard to exit game.

Inspired by Jorgon Corp./Jesse Higgins and his treatise entitled '[Slot Machine]' (see pdf)

About

Halloween themed three reel casino slot machine coded in Python slots sprites game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages