develop "alleyway" game issue
I had a big problem here. Actually the question is as below:
"The ball starts in the middle of the screen with a random x and y direction speed (between ±2). The player uses keys ‘q’ and ‘z’ to move a pad (3 characters long) on the left of the screen. The goal is to hit (block) the ball with the pad when the ball gets to the left edge of the screen, otherwise it will fall off the screen and the player will lose. The ball bounces off the top, bottom and right walls automatically."
Actually what I need to do is to develop a game that look like Alleyway game in Nintendo.anyone have the sample code of it because I do not have any idea on it....:S