Bouncing Balls with Square Obstacles (Java)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
856 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 26, 2009

Bouncing Balls with Square Obstacles is a program written in Java that creates balls of different initial colours, in random positions with random directions. When a ball hits the wall changes direction and colour depending on which part of the wall we had the collision.

The user can add square obstacles on the grid with different colours and properties generated randomly. Each square has a colour that the ball takes when it hits on it and also some squares increase/decrease the velocity and the size of the ball.

You can add as many balls as you want on the grid without affecting the performance of the program.

This program was created March of 2008, as part of a coursework in Computer Science department at Royal Holloway University of London.

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (1)

Sign In or Sign Up now to post a comment!
  • Whats thong called? And I am ponl putting this on for mt little bro who likes difffrent coulewers

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more