Skip to content

ABHAY-100/Catch-Em-Balls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

p5notion

catch_em_balls

Catch 'Em Balls

Overview

Catch 'Em Balls is an engaging game developed using p5.js, a JavaScript library for creative coding. In this game, players control a square to catch falling balls, aiming to score as many points as possible. The game features simple controls and increasing difficulty, providing a fun and challenging experience.

How It Works

  1. Game Setup: When the game starts, the player controls a square (basket) at the bottom of the screen. Balls begin falling from the top of the canvas at a constant speed.

  2. Controls: The player moves the basket left and right using the arrow keys on the keyboard.

  3. Catching Balls: The objective is to catch the falling balls with the basket. Each ball caught increases the player's score.

  4. Scoring System: Points are awarded for each ball caught. The current score is displayed at the top of the screen.

  5. Game Over: The game ends if a ball is missed (i.e., if the ball falls past the basket). A "Game Over" message is displayed, and the player’s final score is shown.

  6. Increasing Difficulty: As the game progresses, the speed of falling balls remains constant but the challenge increases as players need to react quickly to avoid missing balls.

Team Members

  1. Abhay Balakrishnan
  2. Aadithya Madhav
  3. Elvin J Alapatt
  4. Joshua Sebi

Key Features

  • Simple Controls: Move the basket left and right using keyboard inputs.
  • Scoring System: Earn points by catching falling balls. The score is displayed prominently.
  • Increasing Difficulty: The game becomes more challenging as balls fall from the top of the screen at a constant speed.
  • Game Over State: The game ends when a ball is missed, displaying a "Game Over" message.

Getting Started

  1. Clone the Repository:

    git clone https://github.com/ABHAY-100/Catch-Em-Balls.git
  2. Navigate to the Project Directory:

    cd Catch-Em-Balls
  3. Open the HTML File: Open index.html in your browser to start playing

Note: You can also play the game online at Catch 'Em Balls.

Build With

Tech Stack

Conclusion

Catch 'Em Balls is a straightforward yet captivating game that challenges players' reflexes and timing. With easy controls and increasing difficulty, it offers an entertaining experience for players of all ages.


Stay tuned for more—catch you soon! 🎮✨