Skip to content

ACAPP-dev/slots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slot Machine Javascript Based Web App

Play a 'realistic' slot machine using your browser. This slot machine has much better odds than a traditional slot machine in Las Vegas. See how high you can get your balance!

Features

  • Create an account with a username and password.
  • Make pretend deposits and withdrawals.
  • Adjust bet amount.
  • Spin to win!
  • View last 5 transactions (deposits and withdrawals).
  • View payout table.

Please use the following link to see an overview of the webapp on YouTube: https://youtu.be/9v5WjbOkbS4

My blog also talks about this project here: https://acapp-dev.github.io/javascript_project_-_slot_machine

Installation

Written with Ruby version 2.6.1p33 using Javascript and Ruby on Rails API Framework.

Uses a Sqlite3 database. To refresh or set up the database, use the following steps:

$ rails db:drop

$ rails db:migrate

$ rails db:seed

Download the code for this webapp using:

$ git clone https://github.com/ACAPP-dev/slots.git

Update Gem files using command:

$ bundle install 

or

$ bundle update

Development

You can use:

$ rails s
        
to start webserver.

Use:

$ rails c

to enter a console session for debugging and/or exploring.

Start Webpage (from project directory):

$ open frontend/index.html

Contributing

Bug reports and pull requests are welcome on GitHub at need. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Written by Andrew Capp in conjunction with Flatiron Academy - June 2020

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the Code of Conduct.

About

Javascript Project Slot Machine

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published