Sample Overview
This sample shows the basics of how to create and join network sessions, and how to exchange data using a client/server network topology. Each player controls a tank, which they can drive around the screen while rotating the turret. The game simulation is run entirely on a single computer that has been designated as the server. Client computers send their player inputs to the server, which then sends the resulting game state back to each client. Game logic only ever runs on the server: the clients are effectively functioning as dumb terminals, responsible only for reading input and rendering the game world as described by the server.
For an alternative way to handle networked game simulation, see the Peer-to-Peer sample, which implements the same tank movement using a peer-to-peer network topology.
|


GS 2.0
VS 1.1
PS 1.1
other samples
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/