Question: Write a C program to play a 2-player game of Pong, a two-dimensional sports game which simulates table tennis. Use the potentiometers to control the

"Write a C program to play a 2-player game of Pong, a two-dimensional sports game which simulates table tennis. Use the potentiometers to control the paddles moving vertically on each side of the screen. The paddles and walls reflect a ball back and forth at the correct speed and reflection angle. A point is scored when one side fails to return the ball to the other side. Show the score in real time on the LCD display. Divide the paddle into segments to change the ball's angle of return. For example, the center segments return the ball a 90 degree angle in relation to the paddle, while the outer segments return the ball at smaller angles. Make the ball accelerate the more it is returned back and forth between paddles; missing the ball resets the speed." Note: The code must be able to runn on a msp430 controller and use a hyperterminal to play the game.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!