4.1.4

Writing Your Own Program: Input, Outputs, Design

Test yourself

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.

Illustrative background for What will it look like?
Illustrative background for What will it look like?
 ?? "content

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.
Illustrative background for What is the input?Illustrative background for What is the input? ?? "content

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?
Illustrative background for What is the output?Illustrative background for What is the output? ?? "content

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.
Illustrative background for What are the parts of the game?Illustrative background for What are the parts of the game? ?? "content

What are the parts of the game?

  • The parts of the game are the different components you can see, hear, or feel.
Illustrative background for Parts of the game: examplesIllustrative background for Parts of the game: examples ?? "content

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)

Jump to other topics

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

Get started with Seneca Premium