/Breakout

Old and simple breakout game for practice simple physics and DOM manipulation

Primary LanguageCSS

Breakout Game

Welcome to the Breakout Game! This game is a classic arcade game where the player controls a paddle at the bottom of the screen and must use it to bounce a ball against a wall of bricks at the top of the screen, destroying them and earning points. The game is over when the player loses the ball or destroys all the bricks.

Run Locally

Clone the project

  git clone https://github.com/jonathanbc10/Breakout.git

Go to the project directory

  cd Breakout

To run the game, you will need to have a web browser and a local server installed. You can use a package such as http-server to run a local server.

Once you have a local server running, open the index.html file in your web browser to start the game.

Customization

You can customize the game by editing the blocks array in the script.js file. You can add or remove blocks, change the position of the blocks, and change the size of the blocks.

Also, you can change colors in the style.css file

Tech Stack

  • HTML
  • CSS
  • Vanilla JavaScript

Authors

License

This project is licensed under the MIT License