Question: Basic Requirements: o Draw the ball, blocks, and spikes. o The ball is controlled by the keyboard and should keep falling if no obstacles. o
Basic Requirements:
o Draw the ball, blocks, and spikes.
o The ball is controlled by the keyboard and should keep falling if no obstacles.
o The blocks and spikes should be created with arrays and loops.
o The ball should collide with the blocks and spikes. When the ball hits the spikes, it should
disappear, and a new ball should occur.
o The positions of the blocks are specified and can be changed using a JSON file.
Note: You can be creative in your design, but your design shouldnt further simplify the
implementation eg collision detection
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
