Skip to content

Latest commit

 

History

History

CatchTheBall

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CatchTheBall



Description 📃

In this game, you control a paddle to catch a ball that falls from the top of the screen. The ball's horizontal position is randomized each time it resets after being caught. The game reloads if you miss the ball, allowing you to start over and try to catch the ball again.

functionalities 🎮

  • The game initializes with a ball falling from a random position at the top of the screen.
  • The player controls a paddle using the left and right arrow keys to catch the ball.
  • The ball resets to the top and randomizes its horizontal position each time it is caught.
  • If the player misses the ball, the game reloads automatically.

How to play? 🕹️

  1. Use the left () and right () arrow keys to move the paddle.
  2. Try to catch the falling ball with the paddle.
  3. If you catch the ball, a new ball will fall from top from a new random position.
  4. If you miss the ball, the game will restart.

Screenshots 📸

alt text