CHAPTER 7Final Exercise: MultiplayerCrazy Eights

The time has come to put everything together in one final example: a multiplayer card game for the Zune. All Zunes have wireless capability, which allows you to connect and send data to other nearby Zunes in an ad hoc fashion.

The Crazy Eights game incorporates many of the concepts we have covered thus far, including shared sprite batches, game state management, animation, components, game libraries, and sound effects. The final piece of the puzzle is network management, which we will dive into first, before writing this consummate example.

Wireless Networking with the Zune

Because all Zunes have a wireless antenna, you can connect to other nearby Zunes and send/receive data from them. This makes ...

Get Zune Game Development Using XNA 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.