Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pusdeo code loops:
- while
- until
- condition
- for
- end
- repeat
- ?????
- until
- condition
- foreach
- do some stuff here
- until
- condition
- /*Tanya is creating a 2D computer game. The user drives a taxi around the screen.
- success is measured by how much money has been earned and how few penalty points
- have been added to the driving licence.
- Variables are used to hold both of these quantities.
- Q: Identify three variables features of the game proposal,
- other then licence points,
- that would be represented as a variable*/
- //variables that can be used for the taxi game
- //main 3 variables
- // $ = variable
- money = $
- x axis = $
- Y axis = $
- //extra
- user = $
- detestation = $
- speed = $
- win = bool (win/loose) = $
- abstraction
- pattern spotting
- error detection
- database
- varibles - changes
- const - stays the same
- input - user vaidation
- output - display to the user
Add Comment
Please, Sign In to add comment