Wow, it's been a very long time since my last case study! Well now, I'm here to give you a great one: Breakout!
Let's start with the mechanics, as usual:
You control a single paddle that can move left and right.
There is a 2D array of blocks.
The Paddle is at the bottom of the screen, the blocks are at the top.