A mature PingPong Game having multiple Crazy levels. This is a Game to be played on android
-
No one will ever change
mainFunction.js
&pingPong.js
(and sound) except permission from master -
Every level must have
mainFunction.js
&pingPong.js
&L.js
(and sound) inL.js
-
First check the cookie
highScore
&recentTime
-
After level is passed make a function protottype:
passLevel(){ if(t>20){ setCookie('level','L2',1); levelPassed(1,'Faster'); // 'Name of next level or else commingsoon' c=2 noLoop(); } }
function mouseClicked(){
if(c==1){ window.location.href='index.html'; c=0; }
if(c==2){ window.location.href=getCookie('level')+'.html'; }
}
- P5.js Javascript Library for creative coding
- APK-Karan - Cordova