Code Monkey home page Code Monkey logo

overwatch's Introduction

Overwatch

A fan page for the Overwatch diehard.

Table of contents

General info

Overwatch is a rails application that allows users to discover the current characters, learn about their backgrounds and abilities, and shows hero gameplay statistics.

Technologies

  • Rails - version 5.2.3
  • Ruby - version 2.6.1
  • SQLite3 - version 1.4
  • Chartkick

Setup

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

Code Examples

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

Features

  • 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

Status

Project is: finished with option to expand functionality and DRY out code.

Inspiration

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.

Contact

Created by Daniel Sanchez and Taylor Stein

Feel free to contact us with any questions and comments.

License

Click to view

overwatch's People

Contributors

chefboyrt avatar imdanosaur avatar dependabot[bot] avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.