Coders Packet

PingPong Game using HTML,CSS & JavaScript

By Shubham Goel

A simple website to play Ping Pong game with animation, made using HTML, CSS, and JavaScript.

The controls for the game are simple.

Press Enter to start the game. And use Left Arrow to move the bar left and Right Arrow to move the bar right.

Both rods are controlled with the same keys. In other words, they will move together.

PingPong1

 

Also, the high score is saved when you play.

 

PingPong2

PingPong3

PingPong4

 

The losing rod will get the ball for the next match and the rods and ball will move to the center.

 

The code for the webpage includes three files - index.html, script.js, and style.css.

Download project

Reviews Report

Submitted by Shubham Goel (Shubham6)

Download packets of source code on Coders Packet