GithubHelp home page GithubHelp logo

maxprofs-llcio / heist-advisors Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 38.24 MB

Heist Advisors - GA WDI Group Project (Formerly WDI_LDN_PROJECT3)

Home Page: http://heist-advisors.herokuapp.com/

JavaScript 16.80% HTML 71.38% CSS 11.82%

heist-advisors's Introduction

Heist Advisors

Heist Advisors was a group project that was developed over a week. The site was designed to be a fun twist on how current technology could be used for good and not so good.

Try the site here...

The site was developed by:

What is Heist Advisors?

Heist Advisors is the gamification of a robbery.

Simply put, you select a city in the world, possible heist locations are presented to you with likely odds of success and rewards. Choose the one you want and select rob the place. The game then plays the odds. Will you get to your waiting plane at the nearest airport before the police catch you? Play and find out.

The following technology was used:

  • Node - Frontend
  • Express - Framework
  • Mongoose - Database
  • BodyParser - Handling of JSON
  • Cors - Cross-origin resource sharing
  • Morgan - Logging
  • Bower
    • jQuery - JavaScript support
    • Underscore - JavaScript support
    • Foundation - Frontend Framework
  • Heroku - Deployment
  • git and gitHub - Version control
  • Google Maps API including, Places Library - API
  • SITA Airports- API
  • March 2017 - Due to change in business model. The API was changed to Lufthansa API.
  • JavaScript
  • SASS
  • Reset CSS

How it came together...

After brainstorming the idea of a bank robbing assisting app we set about testing an MVP(Minimum Viable Product). This came about through a basic test app. Pulling data from the Google Maps API to give a start and end location.

This data was improved with the inclusion of the SITA API which gave the nearest Airport. Avoiding false positive results from google (e.g. Airport taxi companies were listed as Airports).

Inclusion of more possible heist locations came about from extending the search to include banks, Jewellery stores through the Google Maps Places API.

The nearest police station to the heist location is found through another call via the Google Maps Places API.

Animation is done by following the route that is returned from the directions request.

Game logic is improved with the Police having a faster travel time ('optimistic' traffic and increased speed to reflect their lights and sirens.

Screenshots

Intro: Intro

Selecting a heist location: Selecting

Police station located (notice the possible routes): Selecting

The animated chase in action: Selecting

Sometimes you might get away, not this time! Selecting

Disclaimer

Heist Advisor is only and a game and should be treated as such. Heist Advisor is in no way meant to be taken seriously or used to plan any sort of illegal action. We, the developers of Heist Advisor, take no responsibility for any lost items, stolen items, damaged goods, soul loss, or any other damage to personal or business items.

UPDATE 2017

Due to the SITA Airports API changing to a paid business model the code was changed to use the Lufthansa API for getting the nearest airport. Although this required a change in code as we first need to request a token to use their service. The code was also put through ESLint and tidyed up. Changes were made to the loading of scripts to prevent XMLHttpRequests warnings in the console.

heist-advisors's People

Contributors

cameronperrin avatar willcook4 avatar bblowers avatar alfredoblack 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.