Research to the Design of the Network Games

Author
ZhouRan
Advisor
ShenZuoJing
School
Jilin University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
578
Citations
5

Request the full text

Abstract

With the rapid development of Internet, Multiplayer online games also growvery fast. The National Sports Bureau has already considered electronic games asthe official sports project. The network games have already grown from folk toprofessional. The development and research to the Online Games Design have thepractical significance. The network game project has the great economy influence.It is a new developing industry. The network game will become the leadership tothe new culture and new entertainment. Compared our country by the networkgame design technology with American and the South Korea, We have been fardropped behind. The way to break the foreign corporation monopoly is thedevelopment of network game which has the independent intellectual property bythe struggle all of us.In the game the most important thing is the game engine design. The gameengine acts as the automobile engine role. It controls all the content including thegame plot, checkpoint, music, art design, operations and so on. Along with thegame development, the DirectX technology has been more and more adopted bygame designer. It contains the research to the design technology based in DirectXin this article. There is the detail introduction to the engine design method. Alsothere are the map edit manufacture technology and the demonstrate scene methods.How important they are.The network codes are concentrated in the game engine part, which is used tomanage the communication between the Client and the Server. In order to realizethe network correspondence, we need to understand the Winsock foundation. Thenetwork communication cornerstone is the socket. It has provided one kind oftransmission which could both send and receive. To realize this, we must cite a setof function. And the methods to use these function are contained in this article. Inorder to satisfy the great data quantity correspondence which the network gamerequests, we must be able to establish many socket at the same time. In order toavoid the socket being “innocent locked”, we have studied an effectivemodel—Overlapped I/O model. Let the programming use the overlapped structure,it can deliver multi Winsock I/O requests at the same time. The research report iscontained in the paper.In the multi-player network game, how to avoid delay is an important content.We could use multicast to reduce delays and accept more replies. In the future,multicast may realize high speed and quality digital TV data transmission. It couldreduce the work load of the server and solve the communicate question when theplayers are playing without gamecommunication ruler. In multicast, the information packet can be transmitted toeach address in the network group, nor the single address. We have two reasons fordoing this, one reason is to reduce or avoid the redundant data which must send bythe server. The other one is that player could communicate and find the otherplayers conveniently without need looking up the entire network. The concept andthe principle of multicast are contained in this paper. Also are the part that how touse multicast in the program.Afterward, this article introduced the summary of the server design part indetail, including the server function, the server network connection, and how torealize the completion I/O model. Because the game map is so big, it is impossibleto broadcast one player’s message to all the players. So the studies about transmitone’s message to who is important. Here our design is to broadcast one’s messageto the screen block which the player is there currently and the other eight blocksaround the current block. We comply with the matrix detect principle, look uponone’s nine block under him as a matrix, examine if there are across area with theother’s blocks. Transmit message to the player if there are the across.Before the coding design of the game, script design is important. Because thescript could decide the attract degree to players. Most players consider completingtask joyful, so script design becomes more and more important. After weaccomplish a task, we should forecast the playing effect. A amazing game shouldhave multiple task, give multiple award after the task be completed. The best wayto grasp the player’s desire is pretending to be a normal player. Only when weaccept the task, the other players will be amazed by the game. In the network game,how to synchronize the message between players is extremely important. Forexample, if two players do a job at the same time, the system must decide whomthe award should be given to. The paper introduced two kinds of solution tosynchronize the message. Which method should be decided is according to the netcondition and capacity. More people the server can lodge, more difficult the designis.The multi-thread technology is necessary to the network game. It couldimprove the quality of server, allow more user visiting, processing more surface,not only be able to process one thread. To manage the thread, we construct a threadpool. It is the container of thread. It is used for the thread operations, for example,the establishment, the assignment, the finish, and so on. The operation has beenshielded to the outside. The study to the multi-thread pool is contained in the paper.As being a popular field in recent years, network game is worthy of studyingand researching harder. This paper has just performed a simple experiment. It couldnot fit for market yet. A good game will be carried out only when there’s a greatteam cooperating for it. There are still some questions which the article can notanswer. How to make the game safer and how to prevent the cheating are the twoserious questions. And the distributed architecture server will be the newresearchable aspect in the future.

Table of contents

The first chapter 7-11 1.1 Introduction 1.2 Research significance 7-9 1.3 role-playing online games 9-10 1.4 the dissertation structure of 10-11 Chapter II of the development and design of the game engine 11-22 2.1 game design basic the DIRECTX overview 11-18 2.1.1 DirectDraw 12-14 2.1.2 DirectInput 14-16 2.1.3 DirectSound 16-18 < br /> 2.2 game engine design the 18-22 2.2.1 map editor making 18-19 2.2.2 undercarriage system 19-20 < br /> 2.2.3 character module 20 2.2.4 functional and structural design 20-22 the Chapter the WINSOCK Programming 22-34 <br / > 3.1 network principles and protocols 22-24 IN the 3.1.1 protocol of characteristics 22-23 3.1.2 protocol choice (TCP / IP and UDP / IP) 23-24 3.2 socket the 24-25 3.3 WINSOCK foundation, 25-30 3.4 I / O operations 30 3.5 socket I / O model 30-34 Chapter multicast (MULTICAST) 34-41 4.1 IP Multicast Technology Overview 35-37 4.2 multicast group concept 37-38 4.2.1 IP multicast address 37 4.2.2 Internet Gateway Management Protocol (IGMP) 37-38 4.3 multicasting, and WINSOCK 38-40 4.3.1 the Winsock multicast 39 4.3.2 the Winsock 2 multicast multicast game 39-40 4.4 40-41 Chapter server-side design 41-45 5.1 server-side functionality Overview 41-42 5.2 server-side network connections are found; 42-43 5.3 server broadcast 43-45 Chapter VI game production technology 45-58 6.1 script design 45-46 6.2 mission systems 46-47 the 6.3 Discussion Game synchronous 47-49 6.4 multi-threaded programming 49-52 6.5 thread pool technology the 52-54 6.6 shortest path algorithm 54-58 Chapter VII Conclusion to References 58-59 59-61 summary for 61-64 ABSTRACT 64-67 the Acknowledgements 67-68 instructor and author 68

Related dissertations

  1. Design and Implementation of Screen Image Broadcast and Its Remote Control in LAN
    PengWei ·Central China Normal University ·2006 ·Master's thesis
  2. The Research of IOCP and Its Application on the Remote Monitoring System of Construction Machinery
    DuanZhanQin ·Hunan University ·2009 ·Master's thesis
  3. Software Design of a Certain Experience Platform Multi-parameter Monitoring System
    BaiZuoZuo ·University of North ·2014 ·Master's thesis
  4. The Design and Implementation on Network-based Remote Control System of XY Table
    LinJianPing ·Anhui University of Engineering ·2013 ·Master's thesis
  5. The Applications of Multicast and Qos Techniques in Telecommunication IP Network of Campus Network
    LiuNing ·Inner Mongolia University ·2012 ·Master's thesis
  6. Multi-threshold Image Segmentation Techniques Based on Intelligent Optimization Algorithm and Its Parallel Speedup
  7. Design and Implementation of Guangxi Investment Group Coordination Office Automation System Based on the SOA
    LiangKaiRong ·Guangxi University ·2012 ·Master's thesis
  8. The Designment and Realization of Small2D Game Engine
  9. Design and Presentation of "Minnan Tour of Fighting Against Transgenosis" Mobile Game
    LiaoXueQing ·Xiamen University ·2014 ·Master's thesis
  10. Research on mining algorithm of hierarchical clustering and frequent patterns in time series stream
  11. The Design and Optimization of Select Operation in Column-storage Database Based on Multi-core Processor
  12. Design and Implementation of Multi-user Collaboration Network Training Platform Based on Virtools
    LongYanJun ·Xiangtan University ·2013 ·Master's thesis
  13. Design and Implementation of the Online Learning System for the C Language Based on the J2EE
    QuXiao ·South China University of Technology ·2013 ·Master's thesis
  14. Design and Implement of Network Traffic Statistical Analysis System Based on Winpcap
  15. Design of supervisory control configuration software based on XML document
  16. Research on Shared L2Cache Management Mechanism Based on CMP
    ZhangJie ·Harbin Engineering University ·2013 ·Master's thesis
  17. Research and Implementation of Network TV on the Campus
    Chen ·Tianjin University ·2012 ·Master's thesis
  18. Design and Simulated Implementation of Multicast Protection Algorithms Based on p-Cycle in Multi-Domain Optical Networks
    ZhaoJunHong ·Northeastern University ·2011 ·Master's thesis
  19. Research on Routing and Spectrum Allocation Algorithm in Cognitive Wireless Mesh Networks
    ZuoZhuFang ·Central South University ·2012 ·Doctoral dissertation
  20. Design and Implementation of WLAN Reliable Multicast Transmission and Its Network Management
    XuDaHai ·Beijing Jiaotong University ·2013 ·Master's thesis