Skip to content

brandontanner/Bouncing-Balls-Up-and-Down

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Balls Bouncing Up and Down

Description

After selecting the number of balls to create, that many balls will be created in random colors. These balls will then bounce up and down across the browser at different heights as well as bounce off the walls.

Installation

  1. Download the zip file in github and load projectile.html in a browser.
  2. Enter the console and type factory(), inputting the number of balls within the parenthesis and pressing the "enter" key. For example, if you wanted to display 10 balls, you could type factory(10).
  3. Next, type update() and press "enter", and the balls should begin to bounce.

Roadmap

No improvements or fixes scheduled at this time.

Contributions

  • MIT Professional Certificate in Coding Staff:
    • The framework for a balls to be created and bounce across the screen and off the walls.
  • Brandon Tanner:
    • Updating the program so each ball is randomly assigned a color when created instead of all being created as the same color.

License Information

About

Balls bouncing up and down across the screen of the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published