Giter Site home page Giter Site logo

angularjs-pong-addon's Introduction

AngularJS-Pong-Addon V0.0.1 7/22/15

This will allow you to add an invisible button to your webpage that you can click and play the classic game Pong. If you have anything that you want to add to this, or any features, please use the Pull Request feature!

Notice: This game will look best on a screen with a 16:9 screen ratio, but other ratios, like 5:4 also work.

Requirements: (Not official, and subject to change.)

  • AngularJS v1.2.28 (This is the version I am developing with, later versions should be supported, unless if something drastic changed)
  • ngStorage (For saving local High Scores of you and your friends)
  • ui-Bootstrap (May not need?)

How to Install

  1. Add the PongAddon folder to your root folder for your website.
  2. Edit the index.html of your website to include the latest versions of the requirements.
  3. Edit SetupPong.js to reference your AngularJS App
  4. Paste the following code into the end of your header
  <link rel="stylesheet" type="text/css" href="PongAddon/pong.css" />
  <script type="text/javascript" src="PongAddon/SetupPong.js"></script>
  <script type="text/javascript" src="PongAddon/pong.js"></script>

5.Paste the following code into the top of your body

  <div ng-include="'PongAddon/PongBody.html'"></div>

6.Play Pong

Contact

If you have any comments or questions about this (or anything else I have worked on), please email me (Ean Milligan) at [email protected] and I will be sure to reply to you!

angularjs-pong-addon's People

Contributors

burn-e99 avatar

Watchers

 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.