1、 本科生毕业设计(论文)本科生毕业设计(论文) 题 目: 用 JAVA 实现五子棋网络对战系统 姓 名: xxxx 学 号: xxxxx 系 别: 计算机工程系 专 业: 计算机科学与技术 年 级: xxx 级 指导教师: xxxx 2013 年 6 月 23 日 I 用 JAVA 实现五子棋网络对战系统 摘要 现代科学技术正在迅猛的发展着,计算机信息技术在其中发挥着巨大的作用。在此背 景下,Java 已经从一种与平台无关的编程语言演变成一种跨平台的服务器端技术,同时 JAVA 也成了最常用的语言之一。对比 C+语言,Java 语言更加简单,Java 语言更加容易 理解,也没那么容易出错,它的
2、语法结构让人看起来更加简洁清楚。此外 Java 语言相对 比较晚出现,它在面向对象和多线程特性上相对其他计算机语言有了很大的进步,而且在 Java 语言中比较容易实现算法, 可以大大缩短了我们编写程序的时间, 同时写出来的 Java 代码也比较容易得到复用和移植。基于以上优点,本文采用 Java 语言实现一款五子棋网 络对战系统。此次游戏设计采用 Eclips 作为开发环境,运用了最传统的游戏规则,即出 现连续五颗相同颜色的棋子则获得胜利。并且只需用鼠标点击就可以实现这个游戏所有操 作:开始游戏、落子、投降、求和。这种设置老少皆宜,让所有的人都可以无障碍的玩这 游戏,并配合简洁的游戏界面,让玩
3、家体验到五子棋的趣味性。 关键词:Java,五子棋,对战系统 II Backgammon Online Play System with JAVA Abstract With the development of modern technology of science, the Computer Information Technology plays an important role in it. Under this situation, Java has changed from a shapeless programming language to cross-platform s
4、ever-side technology. At the same time, Java has become the one of most commonly 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 rela
5、tively late to appear on the characteristics of object-oriented and multi-threaded, it has been great progress relative to other computer 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 relati
6、vely easy to get and transplantation. Therefore, because of the advantages of Java language, so I chose to use Java language to compile 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 game, Lazi, surrender, summation. This setting all ages, s