Skip to content

**Ruby Slots** is a Ruby on Rails application designed to simulate a slot machine experience. This project demonstrates the implementation of game logic, state management, and user interaction within a Rails environment.

License

Notifications You must be signed in to change notification settings

Null-logic-0/slots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Slots

Ruby Slots is a Ruby on Rails application designed to simulate a slot machine experience. This project demonstrates the implementation of game logic, state management, and user interaction within a Rails environment.

License: MIT Ruby Version Rails Version

🚀 Features

  • Slot Machine Logic: Core mechanics for spinning reels and calculating payout lines.
  • Web Interface: Responsive UI for user interaction.
  • Modern Asset Management: Utilizes modern Rails frontend tools.
0123.mp4

🛠 Tech Stack

  • Backend: Ruby on Rails
  • Database: PostgreSQL
  • Frontend: HTML5, tailwindcss, JavaScript

📋 Prerequisites

Before you begin, ensure you have the following installed on your machine:

Alternatively, you can use Docker to run the application without installing these dependencies locally.

⚙️ Installation & Setup

Option 1: Local Setup

  1. Clone the repository:

    git clone https://github.com/Null-logic-0/slots.git
    cd slots
  2. Install Ruby dependencies:

    bundle install
  3. Create .env file:

      PG_PASSWORD=your-local-db-password
    
      DATABASE_URL=your-production-db-password
    
  4. Setup the database:

    rails db:create
    rails db:migrate
  5. Start the development server: Since a Procfile.dev is present, use the provided bin script for the most robust development experience:

    rails s
  6. Visit the app: Open your browser and navigate to http://localhost:3000

About

**Ruby Slots** is a Ruby on Rails application designed to simulate a slot machine experience. This project demonstrates the implementation of game logic, state management, and user interaction within a Rails environment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published