361vc++1006 Shikoku Chess Game Program

Source: Internet
Author: User
Tags thread logic

Program development software: vc++6.0 database: Sqlserver2000 or later

Partitioning of client classes:
Game Basic class: responsible for dealing with some of the game's basic functions of the class, such as processing sound classes, processing animation icons, graphic buttons and other classes, the basic class is the characteristics of other classes in a specific place called, do not move the generated object.
The game Frame class: is responsible for processing the game client to display the program interface and draws the game interface as well as displays the user information and the advertisement information and so on processing task.
Game Communication Class: responsible for dealing with the customer server in the game network transmission details, so that in programming without regard to network communication details, to achieve the transparent between the customer and the server effect.
Game Application class: mainly responsible for processing the various settings in the Application Display dialog box, the main process of the program, the management of the basic running class framework in the program, and the processing and display of graphics in the game.
Game Processing class: Mainly used to deal with simple logic of the game, responsible for parsing and processing game data interacting with the server, as well as maintaining the game's various data in the game running, while maintaining the processing of the game main thread logic and other functions.

Division of server classes:
Game Communication Class: responsible for dealing with the customer server in the game network transmission details, so that in programming without regard to network communication details, to achieve transparent transmission between the customer and the effect of the server.
Game Protocol Class: is responsible for processing the game in the customer server interaction between the data transmitted, and the data format for packaging and unpacking, and according to the package contains the instruction string to do the corresponding operation.
Game Logic Class: responsible for dealing with game logic, such as chess game for maintaining chess logic, judging chess, scoring and other processing classes.
User Management class: Used to manage user data, verify user name and password through database after user login, and read user's details from database after authentication. While maintaining user data in the program, the user data is saved to the database when the user game ends and exits the game.
Server Framework class: Used to manage the game hall data, including a list of some data.
Database classes: Server-side for network games when processing large amounts of customer data, using the database for large amounts of data storage and query the class method called

361vc++1006 Shikoku Chess Game Program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.