Skip to content

Quick Pong prototype made with JS using only <div> tags for gfx.

Notifications You must be signed in to change notification settings

edokoa/HTML-Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTML Pong v0.1

Author: edokoa

Website: www.edokoa.com

Contact: [email protected]

Follow me on twitter: @edokoa

This is a quick protoype of Pong I coded in a couple of hours while travelling from Berlin to Prague to practice some JS. It was totally unplanned and started like a joke, so things got added in realtime as the code progressed. As result, there's a lot to fix and loose ends aimed to add features that didn't make it to the first version (but yet it works!).

I also know that there's a lot to refactor, but I wanted to publish this without modifying it beyond commenting it so anyone interested in this kind of things can take a look at the code.

I'd like to continue working on this project at some point and add more things, but you know how those things work, so let's leave it as a proof of concept right now.

If you're interested in getting any help or explanation of why or how, feel free to contact me, but also mind that I have other things going on and could take me some time to get back.

ENJOY!

This code is made with educational purposes and is licensed under a CREATIVE COMMONS: BY-NC-SA license.

The code is provided as-is and I don't hold any responability derived from the use of this program or part of it.

PLAYER CONTROLS

Q: Player1 UP

A: Player1 DOWN

O: Player2 UP

K: Player2 DOWN

This is an early version and it freezes when a player goes over 9 points. To restart a match you should refresh the browser window.

About

Quick Pong prototype made with JS using only <div> tags for gfx.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published