Write code to track lives and/or energy in a game application.
DefinitionCoding should include tracking lives and energy by
- using the components that are available with the game engine
- creating a variable.
Related Standards of Learning
The student will design and apply computer programs to solve practical problems in mathematics arising from business and applications in mathematics.
The student will design, write, document, test, and debug, a computer program.
The student will define and use appropriate variable data types that include integer, real (fixed and scientific notation), character, string, Boolean and object.