A simple yet surprisingly hard game made in Racket and SDL

Hi!

As I am teaching myself Racket, I quickly made this game.

The objective is to make the "ball" (it's not round, I know) bounce as many times in a row as you can off the paddle at the bottom that you control. SPC to launch the ball, and to accelerate the paddle.

Have fun! :stuck_out_tongue:

2 Likes

If you have already tried the game you may have noticed two things:

  1. The game is quite hard to play, thanks to the non-linear response of the accelerating paddle.
  2. There is a bug with handling collision of the ball against the window border and the paddle.

I believe I have fixed the bug now by simulating the ball movement in small steps, so we handle collision properly at high velocities.

Give it a try and share your highest score!
Spoiler: mine is below 10. :wink: