Skip to content

asiryk/slot-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot machine game

A simple slot machine game with three reels.

Slots


What you need to run this code

  1. Node (12.18.x)
  2. Yarn (1.22.x)

How to run this code

  1. Clone this repository
  2. Open command line in the cloned folder,
    • To install dependencies, run yarn install
    • To run the application for development, run yarn serve
  3. Open localhost:4200 in the browser
  4. To run the application on the local network
    • Run yarn serve:lan
    • Find your computer's address on the network. In terminal, type ifconfig and look for IPv4 Address or the one with something like 192.168.1.1
    • In your mobile device on the same network, visit http://192.168.1.1:4200.

Features

  1. Winning: (3 symbols in a middle horizontal row)
    • 3 Same symbols
    • 2 Same symbols and 1 Wild
    • 2 Wilds and 1 any symbol
    • Note: 3 Wilds counts as a loss