Font Size: a A A

The Game Development Based On Peer-to-Peer

Posted on:2008-09-30Degree:MasterType:Thesis
Country:ChinaCandidate:C J HuFull Text:PDF
GTID:2178360215473771Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Peer-to-Peer (P2P) technology has brought us many benefits. One of them is that the P2P technology improves many existed applications.Game server of an Internet game that based on Client/Server model usually has a large amount of calculation to be process, and data to be relayed. So the game server not only need have a powerful calculation capacity but also a wide bandwidth. As a result, the cost may be unaccepted. An Internet game that based on P2P model put its game logical work to its game clients (or peers), its game server only help its clients to build necessary P2P connections, but almost not process any game logical work, so the cost can be reduced sharply.This paper will give out an implementation of Internet game architecture based on P2P.We can build our Internet game application on the P2P architecture transparently. With the P2P architecture, designer and developer of Internet game can avoid the consideration of the low layer network, so they can focus their time and energy on the designing of the game logic. As a result, the time spent on a game is saved sharply.There are two difficulties about the development of Internet game based on P2P model. One is that the P2P applications need to penetrate through the network address translator (NAT), the other is that the P2P game applications require being high real time. Since many Internet users connect to the Internet through NATs in their own LAN, so P2P applications ought to penetrate through the NATs. Because P2P game applications require being high real time. So we could not build our game applications on the TCP, what we need is a TCP-like protocol which can supply us with three kinds of services: the first one is similar with TCP, the second one is similar with UDP, and the third one is intervenient to the first two. Especially, the third one is very important to our work of game development.
Keywords/Search Tags:Peer-to-Peer, Network Address Translator, Game, Architecture
PDF Full Text Request
Related items