/number_guesser_rails

A simple 'single page' Rails application that takes a number range and guess from the user and compares it to a random number within that range.

Primary LanguageRuby

Number Guesser

This is a number guessing game where the user inputs a range of numbers and guesses what number the computer will guess within that range.

Installation

Clone the repository. $ git clone https://github.com/Joshuaatt/number_guesser_rails.git

In the parent directory run:

$ bundle $ rake db:create $ rake db:migrate

Starts the Rails server:

$ rails s

Navigate to localhost in your browser:

localhost:3000

Testing

For testing run: $ rspec