基于C语言的五子棋游戏程序设计  被引量:2

Design of Gobang game by using C programming language

在线阅读下载全文

作  者:陈慧杰[1] 郭占祥[1] 

机构地区:[1]内蒙古民族大学计算机科学与技术学院,内蒙古通辽028043

出  处:《宁波职业技术学院学报》2012年第2期41-44,共4页Journal of Ningbo Polytechnic

摘  要:为了设计人人对弈模式的五子棋游戏系统,采用了C语言函数模块化程序设计方法,利用VisualC++6.0编译器运行游戏,实现一方执白棋,一方执黑棋,通过屏幕上的文字提示,轮流走棋,最先使五子相连一方获胜的人人对弈功能。同时,也对其他游戏系统的开发设计具有一定的借鉴作用。In order to design a players gobang system,the author applies C language function modular programming method flexibly.At the same time,the Visual C++ 6.0 compiler is used for the purpose of running the game.In the game,one executes white piece while another black piece.Moreover both sides try to win,which means one side makes five pieces link together before the game over.Simultaneously both sides can play the game in turn through text reminding in the screen.Further more the design of gobang game is of reference value to exploit other games.

关 键 词:五子棋 C语言 人人对弈 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象