Chapter 3


  1. Yes.

  2. The answer is specific to the reader.

  3. Correct answers to this question should be along the lines of: when you are placed in a particular location in the game world, when you type in a name for something in the game (a player, town, pet, etc.), when you change a game option (language, difficulty, etc.), when you gain a new ability (skill, level, job, unlocked item, etc.), when you set the selling price of an item.

  4. Correct answers should relate to dynamic processes in the game, such as: aging (people, creatures , the environment, etc.), movement of objects in the environment (due to wind, gravity, etc.), the formation and effects of disasters (earthquakes, fire, flood, etc.), population growth (people, animals, plants, etc.), planetary cycles (sun, moon, meteors, etc.), weather (rain, snow, lightning, etc.).

  5. RespawnItem defect type opportunities:

    • Function ‚ 1 through 19 (random selection), 20 ‚ 24 (setup and use flags), 25 ‚ 26 (play respawn sound)

    • Assignment ‚ 9, 10 (2), 12 (2), 15 (2), 17 (2), 20, 27

    • Checking ‚ 2, 6, 11, 16

    • Timing ‚ 26

    • Build/Package/Merge ‚ 21

    • Algorithm ‚ 14, 22, 23

    • Documentation ‚ 7 (a literal string is used to report an error)

      • Interface ‚ 0, 7, 24, 26

  6. And again for G_SpawnItem :

    • Function ‚ 2-8 (spawn item), 9 ‚ 10 (make sound), 15 ‚ 20 (apply damage). The other lines, such as 11, set values but don't perform the function in this routine.

    • Assignment ‚ 1 (possible missing initialization of local variable), 4, 8, 10, 13, 19

    • Checking ‚ 9, 12, 15, 18

    • Timing ‚ 7 (if this line is not there, spawn timing could be wrong)

    • Build/Package/Merge ‚ none

    • Algorithm ‚ 7

    • Documentation ‚ none (strings passed to functions in this routine are not intended to be displayed as text)

    • Interface ‚ 0, 2, 3, 8, 9, 10, 13, 16, 17




Game Testing All in One
Game Testing All in One (Game Development Series)
ISBN: 1592003737
EAN: 2147483647
Year: 2005
Pages: 205

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net