基于Proteus的井字棋游戏设计与仿真  被引量:2

Proteus-based Tic-Tac-Toe Game Design and Simulation

在线阅读下载全文

作  者:朱其祥[1] 徐勇[1] 蒋宗华[1] 陈晓玲[1] ZHU Qi-xiang;XU Yong;JIANG Zong-hua;CHEN Xiao-ling(School of Management Science and Engineering,Anhui University of Finance and Economics,Bengbu 233030,China)

机构地区:[1]安徽财经大学管理科学与工程学院,安徽蚌埠233030

出  处:《辽宁大学学报(自然科学版)》2021年第2期121-124,共4页Journal of Liaoning University:Natural Sciences Edition

基  金:课程教学改革探索(acjyzd201815);安徽财经大学科研项目(ACKY1859)。

摘  要:经典的井字棋游戏不仅可以休闲娱乐,还可用于训练人的逻辑思维和思考能力,老少皆宜.因此采用单片机仿真软件PROTEUS和AT89C51单片机设计了一款井字棋游戏,通过PROTEUS绘制井字棋游戏的硬件电路,用黄红双色发光二极管来模拟游戏的棋子,用绘制的9格方格图作为棋盘,用仿手机键盘上的数字键来操作棋子,用数码管来显示游戏的赢方或平手信息,使用KEILC集成开发环境依据游戏规则编写了相应的软件代码,通过PROTEUS仿真验证,结果表明能够实现两人对弈游戏.The classic Tic-Tac-Toe game can be used not only for recreation,but also for training people′s logical thinking and thinking ability.Therefore,a Tic-Tac-Toe game is designed by using the SCM simulation software PROTEUS and AT89C51,the Hardware Circuit of the Tic-Tac-Toe game is drawn by PROTEUS,and the pieces of the game are simulated by the yellow and red color LED,with the drawing of the 9 grid map as a board,with the number keys on the imitation mobile phone keyboard to operate the pieces,with the digital tube to display the game winner or draw information,according to the rules of the game,the corresponding software code was written by using KEIL C integrated development environment,and the result was verified by PROTEUS simulation,which showed that the game could be played between two people.

关 键 词:井字棋 AT89C51 PROTEUS 仿真 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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