Skip to content

rajeshpillai/breakout-game

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
css
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Modified the game after watching the first project at greatcodeclub.com

Simple Rules:

If the ball hits the wall with a "red" ball inside an additional ball appears on the screen. Please note this is not the primary ball though.

Losing is determined if the primary ball, which is the ball, with a circle marker inside touches the ground.

NOTE

I am about to refactor the app based on feedback and some common practices. This was just a quick prototype created for demonstrating HTML5 game development to my 8 year old nephew.

TRIAL RUN

In breakout.js set the following to true to execute the game in trial mode. In trial mode, the player doens't lose, even if the ball touches the ground.

this.trialRun = false;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published