Modified the game after watching the first project at greatcodeclub.com
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.
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.
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;