Skip to content

john-George510/Ballz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Block Shooter Game

Description

The Block Shooter Game is an interactive game where the player shoots balls at blocks to destroy them. The objective is to prevent the blocks from reaching the end of the screen. The game is built using the p5.js library, providing a fun and engaging gaming experience.

How it Works

  1. The game starts with blocks positioned at the top of the screen and a shooter at the bottom.
  2. The player controls the shooter's angle and shoots balls to destroy the blocks.
  3. When a ball collides with a block, the block is destroyed, and the player earns points.
  4. If a block reaches the end of the screen without being destroyed, the player loses the game.
  5. The game continues until the player successfully clears all blocks or a block reaches the end.

Libraries Used

  • p5.js

How to Configure

  1. Clone the project repository to your local machine.
  2. Make sure you have the latest version of p5.js library installed.
  3. Open the project files in your preferred code editor.

How to Run

  1. Open the index.html file in a web browser.
  2. The Block Shooter Game will start running.
  3. Use the controls to adjust the shooter's angle and shoot balls at the blocks.
  4. Enjoy playing the game and aim to destroy all the blocks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors