太原理工大学毕业设计(论文)用纸
PAGE \* MERGEFORMATiv
JavaGUI实现五子棋游戏
摘 要
随着当代计算机的快速发展和普及,电脑使用成为了每一个人生活中重要的一部分,通过计算机来娱乐休闲更是很多人的选择。而五子棋作为中国古代的传统黑白棋种之一,有着广泛的群众基础,是一种老少皆宜的棋类休闲游戏。作为当今世界广泛使用的编程语言,java语言具有面向对象,并发处理迅速,支持可视化图形界面等良好优点,开发一款简单快捷的五子棋游戏软件,具有很大的优势。
本次课程设计“Java GUI实现五子棋游戏”采用了java语言下的GUI编程方法,在单机环境下实现一个五子棋程序。该程序目的在于实现人机对弈和判定五子连线输赢等基本功能,以及重新开始,退出和游戏计时等辅助游戏功能,同时也应具备界面美观,运算稳定快速的特征。充分满足用户对于五子棋游戏的需求,使用户能够快速简单使用本程序进行单机五子棋游戏。
关键字:java 程序;GUI编程;五子棋;人机对弈;
Java GUI to implement Gobang game
Abstract
At present,With the rapid development of computer network. It’s not an exaggeration to say that computer has become a necessity in most people’s lives。Through playing with computer of recreational is many people's choice。Five In A Row in ancient China, one of the traditional Othello species has a broad mass base, is a casual chess games for all ages. Gobang as one kind of ancient Chinese traditional reversi, has extensive mass base, is a chess casual games for all ages. As the world's widely used programming language, JAVA language with object-oriented, concurrent processing quickly, supports visual graphical interface, such strong point, to develop a simple and quick game of Gobang software, has a great advantage.
The curriculum design "Java GUI to implement Gobang games" with a GUI java programming language. achieve a Gobang software in single-machine environment. The basic functions of program aims to to realize Man-machine chess and judging winning or losing.,And start again, quit the game and game timing and other auxiliary functions. And restarted ,to exit the game and game chronograph other ancillary functions. Also the software should possess beautiful interface, fast and stable operation characteristics. Fully meet user demand for Gobang game ,enable users to quickly and easily use the software in single-machine environment
Key words:JAVA language;GUI programming language;Five In A Row;Man-machine chess;
目 录
TOC \o "