The first assignment we were given was to compare a game of pong in scratch. Scratch is a 2D programming Language.
The first thing I learned was how to make a loop in scratch. You put blocks inside a yellow "repeat" block like this. These are the things you have to do to make the sprites move.
These are the buttons to move player 1.
These are the buttons to get to move player 2.
----Here's the game so you can give it a try.