文档介绍:本科生毕业设计(论文)
题目: 用JAVA实现五子棋网络对战系统
独创性声明
本毕业设计(论文)是我个人在导师指导下完成的。文中引用他人研究成果的部分已在标注中说明;其他同志对本设计(论文)的启发和贡献均已在谢辞中体现;其它内容及成果为本人独立完成。特此声明。
论文作者签名: 日期:
关于论文使用授权的说明
本人完全了解福州大学至诚学院有关保留、使用学位论文的规定,即:学院有权保留送交论文的印刷本、复印件和电子版本,允许论文被查阅和借阅;学院可以公布论文的全部或部分内容,可以采用影印、缩印、数字化或其他复制手段保存论文。保密的论文在解密后应遵守此规定。
论文作者签名: 指导教师签名: 日期:
用JAVA实现五子棋网络对战系统
摘要
现代科学技术正在迅猛的发展着,计算机信息技术在其中发挥着巨大的作用。在此背景下,Java已经从一种与平台无关的编程语言演变成一种跨平台的服务器端技术,同时JAVA也成了最常用的语言之一。对比C++语言,Java语言更加简单,Java语言更加容易理解,也没那么容易出错,它的语法结构让人看起来更加简洁清楚。此外Java语言相对比较晚出现,它在面向对象和多线程特性上相对其他计算机语言有了很大的进步,而且在Java语言中比较容易实现算法,可以大大缩短了我们编写程序的时间,同时写出来的Java代码也比较容易得到复用和移植。基于以上优点,本文采用Java语言实现一款五子棋网络对战系统。此次游戏设计采用Eclips作为开发环境,运用了最传统的游戏规则,即出现连续五颗相同颜色的棋子则获得胜利。并且只需用鼠标点击就可以实现这个游戏所有操作:开始游戏、落子、投降、求和。这种设置老少皆宜,让所有的人都可以无障碍的玩这游戏,并配合简洁的游戏界面,让玩家体验到五子棋的趣味性。
关键词:Java,五子棋,对战系统
Backgammon Online Play System with JAVA
Abstract
With the development of modern technology of science, puter Information Technology plays an important role in it. Under this situation, Java has changed from a shapeless programming language to cross-platform sever-side technology. At the same time, Java has e the one of monly used language. Contrasting to C + +, Java language is more simple, more easily understood and not so easy to make mistakes. Its grammatical structure is seen to be more concise and clear. In addition, Java language relatively late to appear on the characteristics of object-oriented and multi-threaded, it has been great progress relative to puter languages, and the Java language relatively easy to implement the algorithm can greatly shorten the time of our program, while write out Java code reuse is relatively easy to get and transplantation. Therefore, because of the advantages of Java language, so I chose to use Java language pile the game. The game design Eclipse as the development environment, the use of the traditional rules of the game, the consecutive win five of the same color pieces. And only a mouse click you can achieve this game all operations: start the gam