Skip to content

imurtaza97/Pixel-Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'Pixel Pong'

Pixel Pong is a simple and fun pong game built with React. Control the paddle with your mouse or keyboard to keep the ball in play and earn points by hitting the ball with the paddle. The game ends if the ball touches the bottom wall. Enjoy a classic game of pong with a pixelated twist!

'Features'

Smooth ball and paddle movement Collision detection with paddle and walls Score tracking Responsive controls (mouse and keyboard) Game over alert when the ball touches the bottom wall

'How to Play'

Move the paddle using your mouse or arrow keys. Keep the ball in play by bouncing it off the paddle. Earn points for each successful hit. Avoid letting the ball touch the bottom wall to keep the game going.

'Installation'

Clone the repository:

git clone https://github.com/yourusername/pixel-pong.git

'Navigate to the project directory:'

cd pixel-pong

'Install dependencies:'

npm install

'Start the game:'

npm start

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

About

Pixel Pong is a simple and fun pong game built with React. Control the paddle with your mouse or keyboard to keep the ball in play and earn points by hitting the ball with the paddle. The game ends if the ball touches the bottom wall. Enjoy a classic game of pong with a pixelated twist!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors