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.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call