Aug 16, 2017

# Write a bumper car game with the following rules. Bumper cars are located in grid points (x, y)

This paper concentrates on the primary theme of Write a bumper car game with the following rules. Bumper cars are located in grid points (x, y) in which you have to explain and evaluate its intricate aspects in detail. In addition to this, this paper has been reviewed and purchased by most of the students hence; it has been rated 4.8 points on the scale of 5 points. Besides, the price of this paper starts from £ 40. For more details and full access to the paper, please refer to the site.

Write a bumper car game with the following rules. Bumper cars are located in grid points (x, y), where x and y are integers between –10 and 10. A bumper car starts moving in a random direction, either left, right, up, or down. If it reaches the boundary of its track (that is, x or y is 10 or –10), then it reverses direction. If it is about to bump into another bumper car, it reverses direction. Model a track with two bumper cars. Make each of them move 100 times, alternating between the two cars. Display the movement on the graphics screen. Use at least two classes in your program. There should be no global variables.

100% Plagiarism Free & Custom Written,