A fan page for the Overwatch diehard.
Overwatch is a rails application that allows users to discover the current characters, learn about their backgrounds and abilities, and shows hero gameplay statistics.
- Rails - version 5.2.3
- Ruby - version 2.6.1
- SQLite3 - version 1.4
- Chartkick
To run this project, install it locally by cloning the GitHub repository and typing:
rails db:create
rails db:migrate
rails db:seed
rails s
navigate to localhost:3000
def self.most_wins_hero
wins = Game.group(:hero_id).sum(:win)
sorted = wins.sort_by(&:last).pop
Hero.find_by(id: sorted[0]).name
end
def self.most_played_map_name
count_played = Game.group(:map_id).count
sorted = count_played.sort_by(&:last).pop
Map.find_by(id: sorted[0]).name
end
- Browse current characters
- Filter characters by role
- See a list of game statistics
- Check statistics for individual characters
To-do list:
- Add API functionality to return real hero statistics
- Create additional hero profiles as new characters are created
- Integrate filter options for hero statistics page
Project is: finished with option to expand functionality and DRY out code.
The inspiration for Overwatch came from the Overwatch API that did not return the information we were looking for. Using our own love of the game, we set out to build a fun, interactive, and clean UX/UI for fans to enjoy.
Created by Daniel Sanchez and Taylor Stein
Feel free to contact us with any questions and comments.