Chapter 23: The Game Client


Download CD Content

Overview

By now we've met most of our requirements, at least to the point of implementation. Testing them for correct operation and completeness I will leave as an exercise for you, Gentle Reader, because you may (and probably will) want to modify and enhance the requirements anyway.

According to my list, the requirements that remain outstanding are the following:

  1. Internet multiplayer game play.

  2. Global in-game chat.

  1. All other players are enemies.

  2. All point values configurable from a setup file.

  1. 3 points per vehicle destroyed.

  2. Ability to race around the track and score 5 points for each lap you lead. (partial)

  3. Laps can only be scored in the car.

  4. A 10-lap race with no time limit.

  5. A 10-point bonus for winning the race.

  1. When one map is finished, cycle to the next in the list.

Of this list, I will leave numbers 14, 16, 17, and 18 and the remaining portion of number 15 (scoring 5 points) to you to complete as exercises. They are variations of the coin scoring and the lap and checkpoint tracking we covered in Chapter 22. The functioning code is available in the Koob installation kit on the CD, if you need help.

Most of the remaining work requires additional client code to support the server additions we made in the last chapter—we'll add some multiplayer support, a little bit more client support, and user interfaces to access those capabilities.




3D Game Programming All in One
3D Game Programming All in One (Course Technology PTR Game Development Series)
ISBN: 159200136X
EAN: 2147483647
Year: 2006
Pages: 197

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