Classic Pong [source code included]
开发者 unsign3d
添加到主屏幕,快捷访问
安装此游戏
点击分享按钮,然后选择“添加到主屏幕”以便快速访问此游戏。
Classic Pong [source code included]
Classic Pong [source code included] 的标签
简介
Classic pong game, coded in javascript and canvas. Learning only!!
Src Code: http://jsfiddle.net/unsign3d/9m8B6/80/
玩法说明
Up and down key move player.
评论
caparo
Oct. 23, 2013
it would be better if you used better controls because the page goes up and down and its really annoying
fixed!! just add: window.addEventListener("keydown", function(e) { // space and arrow keys if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) { e.preventDefault(); } }, false);
Bullettreatment
Oct. 24, 2013
This game is so bad, it killed my entire family.