Writing Your Own Program: Input, Outputs, Design
Computing: Year 5 & 6 National Curriculum, topic 4.1.4
Designing a ‘basketball’ game
Imagine you are making a basketball game. You need to think about how the game will look, the inputs, the outputs, and the parts of the game.

What will it look like?
- You will want to make your game attractive to the player.
- You might want to make it look like a bird's-eye view of a basketball court.
- The game should have a simple design.

What is the input?
- The input is how the player will use the game.
- What will the player need to do with the keypad, mouse, finger, etc. to control the game?

What is the output?
- The outputs of the game are everything the game should do.
- The ball can be moved with the red and blue boxes.
- The ball should bounce off the walls.
- If the ball hits the basket, you should add points to the team's score.

What are the parts of the game?
- The parts of the game are the different components you can see, hear, or feel.

Parts of the game: examples
- Parts of the game are:
- the background design
- the ball
- the movement of the ball and hands
- the bounce of the ball off the walls
- the point-scoring
- the effects (e.g. sound)
Test yourself on Writing Your Own Program: Input, Outputs, Design
Which of these is an output in a basketball game?
What is an example of input in a football game?
What are the parts of a game
What is the input in a game?