4.1.4
Writing Your Own Program: Input, Outputs, Design
Designing a ‘basketball’ game
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?
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?
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?
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?
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: 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)
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Jump to other topics
1Using Computers
1.1Computers as a Tool
1.3Plagiarism & Illegal Sharing
2Networks & the World Wide Web
3Computational Thinking
Unlock your full potential with Seneca Premium
Unlimited access to 10,000+ open-ended exam questions
Mini-mock exams based on your study history
Unlock 800+ premium courses & e-books