Skip to content

A classic Brick Breaker game developed in JavaScript. The game is simple but engaging: destroy all the bricks by bouncing a ball off a paddle, avoiding missing the ball to keep the game going.

Notifications You must be signed in to change notification settings

PolMuri/Arkanoid-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Arkanoid-Game

This is a classic Brick Breaker game developed in JavaScript, utilizing the element for rendering. The game is simple but engaging: destroy all the bricks by bouncing a ball off a paddle, avoiding missing the ball to keep the game going.

Live demo: https://polmuri.github.io/Arkanoid-Game/

Features

-Brick destruction: Break bricks by hitting them with the ball.

-Different brick colors: Bricks are randomly assigned different colors for visual variety.

-Game over state: The game resets if the ball falls below the paddle.

-PC and Mobile support: Play using either a mouse or touch controls.

How to Play

-On PC: Move the paddle left or right using your mouse. The ball bounces automatically, and your goal is to destroy all the bricks. If the ball falls below the paddle, the game resets.

-On Mobile: Touch and drag your finger on the screen to move the paddle. The paddle will follow the horizontal position of your finger. Just like on PC, avoid letting the ball fall below the paddle.

Technologies Used

-HTML5 Canvas: For rendering the game elements (ball, paddle, bricks).

-JavaScript: For game logic and interactivity.

-CSS: For basic styling of the canvas.

Installation and Setup

-Clone the repository: git clone https://github.com/your-username/brick-breaker-game.git

-Open the project folder and double-click on index.html to run the game in your browser.

Future Improvements

Add levels with increasing difficulty.

Introduce power-ups (e.g., multi-ball, paddle size increase).

Add sound effects and background music.

Track and display a high score.

License

This game is inspired by the 100 JavaScript Projects by Midudev (https://www.javascript100.dev/). The original project can be found here: https://www.javascript100.dev/02-arkanoid-game

While this game is based on the concepts and structure of Midudev's project, it includes several enhancements and unique features: Made available for mobile devices with touch controls, bricks are painted in different colors for added visual appeal, various additional modifications and refinements.

Enjoy breaking bricks and thanks to Midudev (https://github.com/midudev) !!!

About

A classic Brick Breaker game developed in JavaScript. The game is simple but engaging: destroy all the bricks by bouncing a ball off a paddle, avoiding missing the ball to keep the game going.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages