This week in Computing Club we have coded our own simple game of ‘Pong’. We followed the steps carefully to create our game. Miss Allen was very impressed with the children’s coding skills this week!

First we coded our ball to move independently around the screen and bounce in different directions. Next we added a paddle and added in the code to make it always follow the movement of the mouse. We then added in a line at the bottom of the game. If the ball touches that line then the game stops. Finally we created a variable called ‘score’. Each time the ball touches the paddle and stays moving then the score increases by one. We enjoyed playing our games. Jack said, ‘it is very satisfying when it all works properly!’