Number Guessing Game 🚀🕹️

Welcome to the Number Guessing Game! This is a simple web application built with Ruby on Rails where players try to guess a number between 1 and 100. The goal is to guess the number in the fewest attempts possible.

Confira o jogo e divirta-se! 🕹️

Table of Contents

Features

  • Guess a number between 1 and 100
  • Track the number of attempts
  • Notifications for too high, too low, and correct guesses
  • Simple, intuitive UI with Bootstrap

Installation

To get a local copy up and running, follow these simple steps:

  1. Clone the repository:
    git clone https://github.com/eliezermoraesss/number_guessing_game_rails_project.git
  2. Navigate to the project directory:
    cd number_guessing_game_rails_project
  3. Install the required gems:
    bundle install
  4. Set up the database:
    rails db:setup

Usage

  1. Start the Rails server:
    rails server
  2. Open your browser and navigate to:
    http://localhost:3000
    

Deployment

This application is deployed on Render. You can access the live version of the game there.

Known Issues

  • The application works perfectly on Safari, but in Chrome, the Bootstrap-formatted notification messages are not displaying correctly.
  • The application works fine in the localhost environment.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Eliezer Moraes - LinkedIn - Email