Welcome to my game of SLOTS!

Hit Play to get started or click the About button to learn more about this project!

About SLOTS!

After looking at different games I could code with JS, I ended up trying to replicate a slot machine. I had done a few games now like hangman, tic-tac-toe, and rock-paper-scissors, but I wanted to test what I could do with vanilla JS, while also keeping browser performance in mind. I think I managed to do just that with this game. The randomizer for the icons, I feel, compliments the project and really makes it feel like a slot machine; despite being very easy for the user to win. Made entirely with just vanilla JS, HTML, and CSS, I present to you, Slots!

SLOTS

JACKPOT

100

Bet

1

Winnings

0

Credit

10
button-area
7 icon 7 icon 7 icon
bar icon bar icon bar icon
cherry icon cherry icon cherry icon
cherry icon cherry icon cherry icon
7 icon 7 icon bar icon bar icon
or
cherry icon cherry icon
cherry icon
x1
100
50
25
15
10
5
2
Cur(x1)
100
50
25
15
10
5
2

You Lose!