Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

html5 canvas jquery game experiment plugin

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 index.html
Octocat-spinner-32 jquery.jqPong.js
README.md

"jqPong" - HTML5 Canvas jQuery game plugin experiment

License

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE

Version 2, December 2004

Copyright (C) 2011 Robert Kowalski

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.


This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.

Options

height - height of the canvas element
width  - width of the canvas element
color  - color of the game elements

Usage

    $(document).ready(function (){
         $('#yourElement').pong();
    })

With options

    $(document).ready(function (){
         $('#yourElement').pong({
              height: 500,
              width:  500,
              color:  color: 'rgba(255, 0, 0, 1)'
         });
    })

Demo

http://robertkowalski.github.com/jqPong/

Something went wrong with that request. Please try again.