IBM
Contents Index Previous Next



More Exercises...


As a "menu" of new features that can be introduced, we suggest that you try to extend the AdvancedDemonGame with the following:

  1. Memorization of "highest score ever" since system start (there should be only one highest score, common for all types of games).
  2. A "hall of fame" that memorizes the name of the player that reaches the "highest score ever". (The name is assumed to be provided by the environment).
  3. A "gameover" function that checks if the current score is less than an arbitrary value of, say -100, and disables the game so that the player needs to restart it entirely.

Good luck!

Note:

A suggestion for a solution for the exercises above can be found in the directory: $-telelogic/sdt/examples/demongame/sdl92/exercises (on UNIX), or C:\IBM\Rational\SDL_TTCN_Suite6.3\sdt\examples\demongame\sdl92\exercises (in Windows)


http://www.ibm.com/rational
Contents Index Previous Next