Game Development Reference
In-Depth Information
When you run the jigsaw sample, it is complete with chat, lobby display,
friend making, top-ten, or registration. Because we leverage the game
code from PulseUI, all these features are readily available without any
additional code on our part.
Summary
In this chapter, we walked though a lot of code implementing the multiplayer
Jigsaw. We saw how the pieces are formed, and how we check if two pieces are
matched; if it was a match, we have them stick together. We also saw the multiplayer
aspects of the game, specifically how we communicate the piece matching to the
other players. We saw how unique game state comes in handy for this game.
We looked at leveraging the PulseUI framework; we were able to focus solely on
the game implementation leaving the rest of the multiplayer game necessities to the
default behavior of the framework. Mainly we saw how we can use the game state
actions to exchange information between the players to implement a game like the
multiplayer jigsaw.
 
Search WWH ::




Custom Search