Skip to content

biki456/2D-Breakout-Game-JavaScript

 
 

Repository files navigation

🎮 2D Breakout Game (JavaScript)

JavaScript HTML5 Status

A simple 2D Breakout browser game built using JavaScript and HTML5 Canvas.
The player controls a paddle to bounce a ball and break all the bricks on the screen.


📌 Project Description

This project is a classic Breakout-style arcade game implemented using JavaScript.
The objective of the game is to destroy all bricks by bouncing the ball with a paddle while preventing the ball from falling below the screen.

The game demonstrates concepts like canvas rendering, keyboard controls, collision detection, and game logic in JavaScript.


🚀 Features

  • Paddle controlled using keyboard arrows
  • Ball movement and wall collision detection
  • Brick collision detection
  • Score tracking system
  • Multiple levels
  • Player lives system
  • Game over and restart option
  • Sound effects with ON/OFF control

🛠 Technologies Used

  • HTML5 Canvas
  • JavaScript
  • CSS

🎮 Game Controls

Key Action
Left Arrow Move paddle left
Right Arrow Move paddle right

▶️ How to Run the Project

  1. Clone the repository git clone https://github.com/biki456/2D-Breakout-Game-JavaScript.git

  2. Open the project folder

  3. Run the game by opening index.html in your browser.


👤 Author

Bikita Hait
Python Full Stack Developer (Fresher)

GitHub: https://github.com/biki456
Portfolio: https://biki456.github.io/Portfolio
LinkedIn: https://www.linkedin.com/in/bikita-hait-2b59b91b3

About

Create 2D Breakout Game Using JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 86.3%
  • HTML 13.7%