首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于C语言的五子棋游戏程序设计
引用本文:陈慧杰,郭占祥.基于C语言的五子棋游戏程序设计[J].宁波职业技术学院学报,2012(2):41-44.
作者姓名:陈慧杰  郭占祥
作者单位:内蒙古民族大学计算机科学与技术学院,内蒙古通辽,028043
摘    要:为了设计人人对弈模式的五子棋游戏系统,采用了C语言函数模块化程序设计方法,利用VisualC++6.0编译器运行游戏,实现一方执白棋,一方执黑棋,通过屏幕上的文字提示,轮流走棋,最先使五子相连一方获胜的人人对弈功能。同时,也对其他游戏系统的开发设计具有一定的借鉴作用。

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

Design of Gobang game by using C programming language
CHEN Hui-jie,GUO Zhan-xiang.Design of Gobang game by using C programming language[J].Journal of Ningbo Polytechnic,2012(2):41-44.
Authors:CHEN Hui-jie  GUO Zhan-xiang
Institution:(College of Computer Science and Technology,Inner Mongolia University for Nationalities,Tongliao 028043,China)
Abstract: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.
Keywords:Gobang game  C programming language  players game
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号