< Previous | Contents | Next >
G
Game class, BlackJack, 357, 360,
Lobby::AddPlayer() member function, 320–322
Lobby::Clear() member function, 322–323
Lobby::RemovePlayer()
operator() member function, 323–324
Game Stats 3.0 program, 29–30 Game Stats program, 16–17 game testers, 4
generating random numbers, 68–72
calculating number within range, 71–72
GenericPlayer class, BlackJack, 357, 359, 366–367
GetMood()member function,
Critter class, 278
Give Me a Number program, 171–172
global variables, 166–170, 184
hiding, 169 minimizing use of, 170
goodSwap() header, 192, 194, 237 greater than (>) operator, 40tbl greater than or equal to (>=)
Guess My Number game, 73–76 applying game loop, 74 creating, 76