Collection of free JavaScript Pong game code examples from codepen and other resources. Update of February 2020 collection. 2 new items.

Demo image: Unsubscribe Game

Author

  • Aaron Iker

Made with

  • HTML / CSS (SCSS) / JS

About a code

Unsubscribe Game

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Pong Tennis

Author

  • Drew Fleeman

Made with

  • HTML / CSS / JS

About a code

Pong Tennis

Simple tennis video game with Pong game mechanics. Made with p5.js.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: p5.js

Demo image: Pong

Author

  • Austin Condiff

Made with

  • HTML / CSS / JS (Babel)

About a code

Pong

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: yes

Dependencies: -

Demo image: Ghost Pong

Author

  • Drew Fleeman

Made with

  • HTML / CSS / JS

About a code

Ghost Pong

The classic Pong video game but the ball is a ghost that reacts to getting hit. Made with p5.js. Use the arrow keys to play.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: p5.js

Demo image: Pong Game

Author

  • Sascha Sigl

Made with

  • HTML / CSS (SCSS) / JS

About a code

Pong Game

Classic arcade game in 2D/3D.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: 3D Canvas Computer And Pong

Author

  • Matei Copot

Made with

  • HTML / CSS / JS (Babel)

About a code

3D Canvas Computer And Pong

Manually-generate coordinates for a 3d render of an old desktop computer on the 2d canvas context (no libraries), including a playable game of pong! (Yes, the ball gets faster every time you hit it).

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -

Demo image: Play Pong!

Author

  • Simone Vittori

Made with

  • HTML / CSS / JS

About a code

Play Pong!

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: no

Dependencies: -