Week 5: Feb 4 - 8
Programming and system development - Shooting spaceship game (Part 2)
Learning objectives:
- identify and describe data types in text-based programs, including Integer, Real and String
- develop text-based programs that use:
- input and output
- data types including Integer, Real and String
- variables
- different arithmetic operators, including +, -, *, /
- apply a test plan and test a program using a range of data
- develop a program for a physical computing device to generate multiple outputs, based on multiple inputs
Game code:
Set screen size, Name and define variables
Draw function to display objects on the screen:
Update function