Skip to content

michballard/rockpaperscissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makers Academy Week 5 Friday Challenge

Rock Paper Scissors

The aim of this challenge is to develop a website that replicates the game rock paper scissors. This was built using Sinatra and deployed with Heroku.

Screenshots
Signing up on the homepage:
Screenshot 1
Choosing an option:
Screenshot 2
Getting the game result:
Screenshot 3

How to view it

Staging app: http://immense-springs-8940.herokuapp.com/

Production app: http://nameless-depths-7882.herokuapp.com/

How to run it

Clone the repository:

$ git clone git@github.com:michballard/rockpaperscissors.git

Change directory:

$ cd rockpaperscissors

Install gems:

$ bundle install

To run on local browser:

$ rackup

View on browser at:

http://localhost:9292/

How to test it

Unit testing:

$ rspec

Integration testing:

$ cucumber

Technologies used

  • Ruby
  • Rspec
  • Sinatra
  • HTML/CSS
  • Capybara
  • Cucumber
  • Launchy
  • Shotgun
  • Heroku
  • New Relic

New Relic analysis

New Relic allows the website owner to monitor applications that are in production environments with live traffic. The response time gives the average response time of calls across the application - in my example the app server response time is 68 ms and the browser response is 0.419 s. The metric for customer experience (Apdex score) shows how well the user is being served with a score towards 1 indicating that user’s request is falling within a reasonable time - in this case the app server score is 0.98 and the browser score is 1.0. Other useful indicators for user performance are that it provides the web transactions (including associated app server time) and the error rates.

New Relic Snapshot

About

Creating the game rock paper scissors on the web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors