- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业设计说明书
基于javaGUI的五子棋游戏
的设计与实现
PAGE I
PAGE I
基于javaGUI的五子棋游戏的
设计与实现
摘要:随着互联网的快速发展,软件开发行业得到了很大的提升。游戏开发作为软件开发的热门选择,更使得游戏与人们的生活息息相关。五子棋游戏作为一种简单而易于上手的游戏,深受广大玩家所喜爱。
本游戏利用java语言去实现开发,实现人人模式、人机模式两种玩法。在人机模式中,实现了简单的人工智能功能,去完成五子棋的博弈。在人人模式中,采用Socket和ServerSocket去实现,在服务器端用集合添加所连接的线程,对多线程进行管理。
通过开发五子棋游戏,能够去研究和推广五子棋游戏,不仅可以使人们修养身心,同时还可以促进不同文化间的交流。有很深的推广意义。
关键词:javaGUI;五子棋游戏;人工智能;多线程
全套设计加扣 3346389411或3012250582
PAGE II
PAGE II
Gobang Game Based On javaGUI
Design And Implementation
Abstract: With the rapid development of the Internet, the software development industry has been greatly improved. Game development as a popular choice of software development, but also makes the game and peoples lives are closely related. Backgammon game as a simple and easy to use the game, loved by the majority of players.
The game uses java language to achieve the development, to achieve everyone model, man-machine mode two games are played. In the man-machine mode, to achieve a simple artificial intelligence function, to complete the game backgammon. In everyone mode, the use of Socket and ServerSocket to achieve, in the server side with the collection to add the thread connected to the multi-threaded management.
Through the development of the game, can go to research and promotion of backgammon game, not only can make people cultivate physical and mental, but also can promote the exchange between different cultures. There is a deep promotion significance.
KeyWords:javaGUI; Gobang; game; multithreading
PAGE IV
PAGE IV
目 录
TOC \o 1-3 \h \u 摘要 I
Abstract II
目 录 III
1 绪论 1
1.1 五子棋开发背景 1
1.2 五子棋的国内外研究现状 1
1.3 五子棋开发意义 2
2 五子棋的介绍 3
2.1 五子棋的棋盘与棋子 3
2.2 五子棋的游戏规则 3
2.3 五子棋的棋型介绍 4
3 开发环境与语言 5
3.1 java语言 5
3.2 eclipse工具 6
3.3 windows开发环境 7
4 五子棋的设计与实现 8
4.1 程序结构 8
4.2 五子棋的棋盘与棋子实现 8
4.2.1 棋盘的实现 8
4.2.2 棋子的实现 10
4.3 胜负功能的实现 11
4.4 棋盘按键功能的实现 15
4.4.1 认输功能的实现 15
4.4.2 悔棋功能的实现 17
4.
原创力文档


文档评论(0)