Simple pong like game done as a practice exercise