A simple breakout game created using HTML, CSS and Javascript

Overview

BreakOut Game

This game is created using HTML, CSS and Javascript

gameplay

Game Overview

  • The game would consist of 3 lives in order to clear out all the blocks.
  • Try and break all the blocks to win.
  • With each fall, the number of lives gets reduced. If all the lives are lost, then the game is over.
  • The board at the bottom has to be moved horizontally, so that the ball does not touch the ground.

Controls

  • Move mouse to control the paddle

Created with

Feel free to contribute for better designs and improvements ✌️ Let's play the game, drop if you liked it.

Thanks for dropping by. 🤝

PRs Welcome

Comments
  • Collision detection allows ball to partially go through bricks

    Collision detection allows ball to partially go through bricks

    When watching the gif in the readme and trying out the game, I noticed that half of the ball could go through a brick before the game recognizes that it made contact, and a ball hitting a corner of a brick would not collide at all. If it's alright, I'm going to work on a PR to fix this behavior.

    opened by tygee713 2
  • Making minor changes to HTMl for validation. Making some changes to C…

    Making minor changes to HTMl for validation. Making some changes to C…

    #37

    Hello! I made a few changes:

    1: I used https://validator.w3.org/ to validate the HTML and made some minor changes.

    2: I used https://wave.webaim.org/ to make some other changes to CSS to improve the contrast between colors and font size.

    (I also figured out how to make the ball change random colours, but not all of them are good contrast so I left this commented out.)

    enhancement hacktoberfest 
    opened by adam-weiler 1
  • W3C Valid HTML and Accessibility

    W3C Valid HTML and Accessibility

    Hey; I'm wondering if I can work on making the HTML W3C Valid?

    I also noticed there's some Accessibility Contrast Issues that I can try to improve as well.

    opened by adam-weiler 1
  • Fix the ball keeps bouncing on the same points

    Fix the ball keeps bouncing on the same points

    This should fix #31 . Add a function that generates random values between -0.4 and 0.4 when the ball bounces off the sidewalls and add to vertical speed.

    opened by dani0105 1
  • Update README.md file

    Update README.md file

    Update the README.md file by including the following:

    1. The technologies used to create the game.
    2. Latest images/gifs of the game.
    3. Rules of the game / How the game is played.
    4. Features of the game.
    opened by selemondev 0
  • Can the popups be customised?

    Can the popups be customised?

    Currently after the game is played, either lost or won the popup is just a normal prompt

    Can this be customised with html or css & make it to look better

    enhancement good first issue hacktoberfest 
    opened by DhanushNehru 3
Owner
Dhanush
Software Engineer 👨‍💻 | Opensource Contributor 🌟 | Full Stack Developer 🖱️ | Chess Player ♟️
Dhanush
This is a Tic Tac Toe game built with HTML, CSS, and JavaScript. It is a simple and fun game where two players take turns marking X and O on a 3x3 grid.

Tic Tac Toe Game This is a Tic Tac Toe game built with HTML, CSS, and JavaScript. It is a simple and fun game where two players take turns marking X a

Andrew Tsegaye 4 Mar 4, 2023
Clinton Mbonu 20 Jun 30, 2022
A simple leaderboard project made while a student in Microverse using API to get scores for a game, JavaScript, HTML and basic CSS

A simple leaderboard project made while a student in Microverse using API to get scores for a game, JavaScript, HTML and basic CSS

Thiago Ponce 6 Nov 28, 2022
This project is a group Project created using Poke Api, HTML, CSS and JavaScript

JavaScript-Capstone-Project This project is a group Project created using Poke Api, HTML, CSS and JavaScript. Home Page About Page Project Documentati

David Kasilia Mwanzia 6 Nov 18, 2022
In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev server.

To do list In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev ser

Jesús Vázquez 8 Dec 21, 2022
Code Playground is a online application for testing and showcasing user-created and collaborational HTML, CSS and JavaScript code snippets

Code Playground About Code Playground is a online application for testing and showcasing user-created and collaborational HTML, CSS and JavaScript cod

Arshansh Agarwal 5 Dec 17, 2022
Simple Library implemented using HTML, CSS and JavaScript. This is a simple implementation of JavaScript Modules of ES6.

Awesome-books A single page project with the porpuse of storing books' titles and authors. Built With CSS, HTML & Javascript. How to run in your local

Saadat Ali 7 Feb 21, 2022
Keep track of your bookshelf with this dynamic list, created with HTML, CSS and populated by JavaScript.

Awesome Books In this project, is ment to build a basic website that allows users to add/remove books from a list. Built With HTML JavaScript CSS Auth

Federico Luna 8 Sep 2, 2022
"To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. It is created with HTML , CSS , JS and webpack and NPM.

My Todo List "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as com

Dyary Raoof Bayz Agha 5 Mar 29, 2022
Keep a track of all the tasks you need to do and Check off ones you have completed - Created using HTML, SCSS, JavaScript and Webpack.

To Do List Keep a track of tasks you need to do. An Application where you can keep a track of the tasks you need to do and checkout the ones that have

Awais Amjed 19 Jul 28, 2022
Card IDE (CIDEr) - Design game cards using HTML/Handlebars, CSS, and tabular data

CIDEr Card IDE (CIDEr) - Design game cards using HTML/Handlebars, CSS, and tabular data. Website: Start using Cider About CIDEr Cider was created to f

Oatear 37 Dec 10, 2022
An Awesome Toggle Menu created with HTML,CSS,JQuery,font-awesome and line by line comment.

Demo : https://blackx-732.github.io/AwesomeMenu/ Under open source license No ©copyright issues Anyone can be modify this code as well Specifically we

BlackX-Lolipop 2 Feb 9, 2021
created mac OS desktop with HTML, CSS, JS 😀

Hello World ?? I am planing to make a mac OS simulator using HTML, CSS, and JavaScript ?? Mac Os Monterey Try it now! : https://mhmdmhd6.github.io/Mac

mhmd 294 Dec 21, 2022
This is a project based on a game Leaderboard. You can interact with an API inserting your user name and score. Built with HTML, CSS, JavaScript and WEBPACK

Leaderboard: Leaderboard project - Microverse Acces link Check the live version here Built With HTML CSS JavaScript VScode Webpack GitFlow Quick view

Vitor Guedes Madeira 11 Oct 8, 2022
This project contains a leader board for a game which contains players name and list and store them on API build with HTML, CSS, JS and API

Leaderboard This App is a Game Leaderboard app Which is created by JavaScript and the big picture of this application is using API. Build With ??‍?? .

Sahar Saba Amiri 5 Dec 15, 2022
A simple to do list webpage where you can log the daily tasks you have to do, mark them as checked, modify them, reorder them and remove them. Made using HTML, CSS and JavaScript.

To-Do-List This Webpage is for an app called To-Do-List which helps you add, remove or check tasks you have to do. It is a simple web page which conta

Zeeshan Haider 9 Mar 12, 2022
Simple weather app written in HTML, CSS, and JavaScript using the OpenWeather API for fetching weather and geolocation information

Description Simple weather app written in HTML, CSS, and JavaScript using the OpenWeather API for fetching weather and geolocation information. Acknow

Gleb Korzan 4 Feb 23, 2022