摘 要
Web游戏可以理解为是在Web浏览器上运行的游戏,客户端使用html xml javascript ajax dom vml svg,或 Flash action实现界面以及和用户的交互,服务器端开发可以使用c++ 或java通过多线程技术实现游戏逻辑处理, 也可以用IOC框架开发, 互联网的发展必然推动这种类型游戏的快速应用。此系统涉及到html xml javascript ajax dom和jsp servlet javabean等等技术,基于目前流行的jsp结合ajax技术,采用B/S体系结构开发的网页象棋游戏,在网页布局与设计上使用DIV+CSS标准化技术将内容也样式进行分离,依托Internet网的广阔平台,打破了时间、地域的限制,使人们可以随时随地方便快捷地加入到web游戏中去。给用户提供一个快速便捷的游戏娱乐环境,只需要打开网页,不用安装任何程序和插件,就可以和网络上其他玩家进行互动游戏。
整体系统包括:管理子系统,博弈子系统,裁判子系统和棋局研究分析子系统四大部分,博弈子系统是一个功能完备的基于web的中国象棋游戏网站中的重要组成模块,是整个系统中核心的部分,并且围绕着博弈子系统模块进行整个网站系统的总体设计。
LLAHu-^
a
关键词: Web游戏; Model2; Ajax; 网络象棋; DOM; Javascript;
富因特网应用程序;
Abstract
Web games can be understood as games which running in the Web browser on user's Web client and using html
xml javascript
ajax dom vml svg, or Flash action, as well as the realization of the interface and user interaction, server-side development can use the c + + or java multi-threading technology the realization of the game logic processing, IOC framework can also be used to develop.The development of the Internet is bound to promote the game of this type of rapid application. This system involves the html xml javascript ajax dom and jsp servlet javabean technology, etc.,and based on the combination of the jsp and ajax technology which is popular nowadays, this chess game website also use B / S architecture for developing. Page were layouted and designed with DIV + CSS Standardization Technical which could make sure the independence between contents and styles.Relying on the vast Internet network platforms, breaking the time, geographical and boundaries limits, so that people can quickly and easily adding to the web game. at any time. To provide users with a fast and convenient gaming entertainment environment, need only open the web page, do not install any program and plug-ins, and network will be able to interact user with other game players.
The whole system, including four major subsystems: management subsystem, the game system, referees and game analysis subsystem, the game system is an very important component modules of the game website as core module, and the whole system was designed and developed both around the game system module.
Keywords: Web Game; Model2 ; Ajax; Web Chess; DOM; Javascript; Rich Internet Applications,RIA;
目录
摘 要 (中文) I
(英文) II
第一章 概述 1
1.1系统开发背景 1
1.2 WEB游戏的优势与特性 2
1.3 系统设计的目标 4
1.4 系统开发与测试环境 4
1.5可行性分析 5
第二章 相关技术与开发工具 6
2.1 J2EE WEB应用基础 6
2.2 AJAX概述 8
2.3 DIV+CSS 10
2.4开发工具 11
第三章 模块需求分析与总体设计 13
3.1 需求分析说明 13
3.2 整体系统用例图 15
3.3整体系统业务流图 15
3.4 系统总体设计框架 16
第四章 系统设计和系统实现 17
4.1 数据库设计 17
4.2 详细模块设计 19
4.3 页面设计 34
第五章 系统实施 37
5.1 系统运行结果 37
5.2 模块测试与评价 40
5.3难点及解决方法 40
结束语 43
参考文献 44
第一章 概述
随着计算机使用的深入普及,计算机应用技术的日臻完善,以及全球性网络化、信息化的飞速发展,Internet技术彻底改变了人们的生活方式,给人们生活工作的各个方面带来了巨大的影响。
本系统是一个简单的网页游戏平台。网页游戏最先起源于德国,又称Web游戏,是利用浏览器玩的游戏,它不用下载客户端,任何地方任何时间任何一台能上网的电脑就可以快乐的游戏。只要能打开IE,10秒钟即可进入游戏,不用下载庞大客户端,更不存在机器配置不够的问题。最重要的是关闭或者切换极其方便,再也不用担心上班玩游戏被