Skip to content

robertkowalski/jqPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

"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/

About

html5 canvas jquery game experiment plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published