C++ Book


GameStats

GameStats1.0

Output

score: 0
distance: 1200.76
playAgain: y
lives: 3
aliensKilled: 10
engineTemp: 6572.89

How much fuel? 10
fuel: 10

bonus: 10

ScreenShoot

GameStats2.0

Output

score: 5000
score: 5100
score: 5200
lives: 4
lives: 4
lives, bonus = 4, 40
lives, bonus = 4, 30

score: 4294967295
score: 0

ScreenShot

GameStats3.0

Output

score: 1500

To upgrade my ship to a Cruiser will cost 24 Resource Points.

ScreenShot