Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone , I am a newbie to Javascript and lack strong knowledge of basics of this language, yet I tried to make a simple ping-pong game to which i was almost successful.

Except one error that during playing the game sometimes when we press the space key the ball starts moving quite fastly (keep on pressing space key during playing), dont know what is the reason and know there will be quite bugs in program,so plz dont shout at me. :P

Help me there and tell me how can i improve it. Plz reply soon.

Here is the fiddle for it :-
http://jsfiddle.net/gurjitmehta/vc2u0zrt/

experimental view of debugging in mobile :-
http://jsfiddle.net/m/rwc/
Posted
Updated 17-Aug-14 2:51am
v2
Comments
Gurjit Singh 17-Aug-14 8:50am    
PLz anyone there who could help me out
Gurjit Singh 18-Aug-14 4:53am    
Downvote -_- for asking u to find a bug..?? Lolz this is quite strange for moderators

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900