Font Size: a A A

Design And Implementation Of Web - Based Game Design

Posted on:2013-01-21Degree:MasterType:Thesis
Country:ChinaCandidate:Z J DengFull Text:PDF
GTID:2208330434470304Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Rubik’s cube is a popular3d mechanical puzzle. There have been some efforts to migrate cube to computer platform. These efforts lead to some cube solvers, as well as some mini PC games. But what cube player really need is some type of online game that they can rely on to practice with and learn from each other.This paper analyzes the requirements of a cube web game, and implements a complete cube web game system. The front-end of this game is a SWF, which connects to the back-end C++server using flash socket. This online cube game system is an instant and convenient platform, which can be used by cube players to play with each other. A common cube data structure is designed according to cube’s physical characteristics, which meet the program rendering and logic handling requirements. Cube rendering and intuitive mouse/keyboard inputting is supported in this paper using papervision3d. Rubik cube’s’layer by layer’solve method is represented as a dynamic tree, and then be implemented in as3. A visual, step by step cube tour is also be implemented based on it. Serialization and unserialization of different cube operation are supported. Thus operations can be transferred between different front-ends, and game saving and querying is provided as a proper functionality. Finally, a high performance back-end server is constructed to form a complete web game. The game server is designed targeting’ single logic thread’context, special optimization is applied, so that the server is fast, stable, and adaptable to massive overloads.
Keywords/Search Tags:Cube, web game, 3D rendering, layer by layer algorithm, gameserver
PDF Full Text Request
Related items