Title :
Algorithm Research on Online Game of Chinese Chess
Author :
Ban, Yameng ; Zhao, Yuepeng
Author_Institution :
Dept. of Software Eng., Shijiazhuang Inf. Eng. Vocational Coll., Shijiazhuang, China
Abstract :
This paper describes the current situation of domestic online games. According to the present condition of the local network game, we inquired to a Multithread TCP client and server, such as Chinese chess. Combining the basic knowledge of Java and Java Swing usage, the article studies the compiling procedure of object-oriented and the method of the network procedure. The article carries on the use of Socket under the Java Swing. The most important thing is how a pair of machines correspondence-C/S service system-is carried out. From here, we put forward the data structure, the basic calculation method of the online game-Chinese chess, and how to design and realize the server and client of that procedure. The design of the game is divided into several modules as follows : server module, client module and the control module.
Keywords :
Java; client-server systems; computer games; data structures; multi-threading; object-oriented methods; program compilers; transport protocols; C/S service system; Chinese chess; Java Swing usage; Socket; client module; compiling procedure; control module; data structure; domestic online games; local network game; multithread TCP client-server system; object-oriented method; server module; Data structures; Educational institutions; Games; Java; Programming; Servers; Synchronization; Chines chesst; algorithm; java;
Conference_Titel :
Computer Science & Service System (CSSS), 2012 International Conference on
Conference_Location :
Nanjing
Print_ISBN :
978-1-4673-0721-5
DOI :
10.1109/CSSS.2012.415