A slot machine that's not accurate to real life at all.
SlotSymbol(name[, options])
name
A unique name for the symbol.options.display
A character to use for displaying.options.points
Amount of points the symbol gives.options.weight
Chance of symbol appearing relative to others.options.wildcard
Whether or not the symbol is a wildcard.
The machine also had a mechanical Centerfold that opened and closed, along with several other unique playfield mechanisms that revealed beautiful women. The same consignor also had a “Bunny” slot machine, not affiliated with Playboy, but with a similar look, that sold at auction for $255 with buyer’s premium.
- Welcome to mFortune Online Casino in 2021.Come on in and experience our exclusive online slots, vibrant bingo rooms and casino classics – anytime, anywhere! Play for free in demo mode or see if you can spin and win one of our huge progressive Jackpots from as little as 1p a spin.
- The slot machine display rotates, but since it has large diameter, it looks more like a continues scroll. You will need to distort the top and bottom of the images, in order to make them look realistic. If you blurry the top and bottom (transparent gif or css3 indented shadow), you might get close to the desired effect.
- Slot Machine in Javascript. Welcome to the Javascript version of Slot Machine written by Saurabh Odhyan. Slot machine in Javascript. Learn how to build this. Author: Saurabh Odhyan.
Creates a new SlotSymbol instance:
name
The symbol's name.display
The character for display.points
Amount of points the symbol gives.weight
Chance of symbol appearing.wildcard
Whether or not the symbol is a wildcard.
SlotMachine(size, symbols[, random])
size
Size of grid, must be odd number above 3.symbols
Array of SlotSymbols to use.random
Function returning number [0, 1).
Creates a new SlotMachine instance:
size
Size of grid.symbols
Symbols to be used.random
Function returning number [0, 1).
<SlotMachine>.play()
Plays the slot machine and returns the results.
=> Results
<SlotMachine>.chanceOf(name)
name
Name of a SlotSymbol.
Gets the chance of a symbol appearing.
=> number
<Results>
The results of a slot machine play:
lines
The lines generated from the play, where the last two are the major and minor diagonals.totalPoints
Total amount of points from won lines.winCount
Amount of lines that have been won.
<Results>.visualize([includeDiagonals])
includeDiagonals
Whether or not to include diagonals in the visualization.
Creates a formatted string from the results.
=> string
<EvaluatedLine>
The lines from a slot machine play:
Slot Machine Is Not Random
symbols
The symbols in the line.diagonal
Whether or not the line is a diagonal.isWon
Whether or not the line is won.points
The amount of points this line would give.