首页 / 开发技术 / C++     /    MFC写的飞行棋C++源代码

MFC写的飞行棋C++源代码

上传者: yjt1325 | 上传时间:2023/2/15 23:40:57 | 文件大小:8.48MB | 文件类型:rar
MFC写的飞行棋C++源代码
1.游戏后玩家轮番掷骰子,轮番走棋,直到游戏中有一个玩家结束游戏。
要求:利用鼠标进行走棋(能区分多个玩家旗子);
正确识别胜利和失败,正确判断走棋正确与否,是否引起游戏结束;
2.玩家用鼠标点击骰子图标之后,再点击棋盘上某个棋盘上自己的飞机进行走棋,玩家轮番走棋,如果有玩家投到6则重新又这个玩家走棋。
3游戏细则(1)起飞:只有当骰子掷出6点时,飞机起飞。
(2)到达:飞机到达终点时,回退多余点数。
(3)跳跃:飞机飞到同色方块时跳跃到下一个同色方;
如果下一个同色方块连接快速通道,则飞过快速通道。
(4)撞机:飞机停的方块中有敌机停留,敌机被撞回停机场。
(5)迭机:两架或多架飞机走到同一格时,重叠在一起称为迭机;
① 我方飞机正好停留在敌方上头,所有飞机回飞机场;
② 我方骰子为6时且与敌方飞机距离为小于6时,我方飞机停留在敌机上头,下次投骰子后直接走我方这辆飞机;
③ 我方骰子不为6时且与敌机距离小于6时,我方需倒退剩余点数;
(6)胜利:有一架飞机飞到终点胜利,游戏结束。
本软件ID:10203708

文件下载

资源详情

(86个子文件8.48MB)MFC写的飞行棋C++源代码
飞行棋
Computer.h 704B
program.cpp 4.04KB
Managers.cpp 10.00KB
StdAfx.cpp 251B
resource.h 1.09KB
programDoc.h 1.45KB
Chess.cpp 691B
programDoc.cpp 1.80KB
roll.swf 1.08KB
MainFrm.h 1.39KB
program.aps 1.47MB
programView.h 3.39KB
program.clw 1.91KB
program.dsp 5.99KB
program.dsw 583B
Debug
program.obj 22.68KB
program.exe 1.89MB
programDoc.obj 14.98KB
shockwaveflash.sbr 0B
vc60.pdb 364.00KB
MainFrm.sbr 0B
Managers.sbr 0B
chess.sbr 0B
roll.swf 1.08KB
vc60.idb 233.00KB
programView.obj 62.92KB
programView.sbr 0B
program.res 1.45MB
chess.obj 4.79KB
Computer.obj 10.04KB
program.ilk 485.59KB
program.bsc 5.23MB
MainFrm.obj 15.49KB
shockwaveflash.obj 99.46KB
Managers.obj 17.70KB
program.sbr 0B
StdAfx.obj 105.57KB
Computer.sbr 0B
StdAfx.sbr 1.32MB
program.pdb 529.00KB
programDoc.sbr 0B
program.pch 6.62MB
ReadMe.txt 3.92KB
StdAfx.h 1.03KB
~VC4B.tmp 512B
program.rc 10.75KB
shockwaveflash.h 4.80KB
~VC4C.tmp 0B
Chess.h 758B
Managers.h 1.63KB
MainFrm.cpp 1.61KB
shockwaveflash.cpp 16.33KB
Release
program.obj 15.72KB
program.exe 1.48MB
programDoc.obj 9.22KB
vc60.idb 65.00KB
programView.obj 37.72KB
program.res 1.44MB
chess.obj 2.03KB
Computer.obj 3.93KB
MainFrm.obj 10.21KB
shockwaveflash.obj 51.39KB
Managers.obj 8.15KB
StdAfx.obj 1.99KB
program.pch 5.43MB
Computer.cpp 3.54KB
programView.cpp 23.10KB
res
yellowmask.bmp 4.29KB
background.bmp 1.37MB
program.rc2 399B
program.ico 4.19KB
programDoc.ico 1.05KB
yellowplane.bmp 4.29KB
blueplane.bmp 4.29KB
redplane.bmp 4.29KB
redmask.bmp 4.29KB
Thumbs.db 40.00KB
bluemask.bmp 4.29KB
roll.bmp 32.87KB
greenmask.bmp 4.29KB
greenplane.bmp 4.29KB
cursor1.cur 326B
program.ncb 457.00KB
program.opt 48.50KB
program.h 1.33KB
program.plg 1.14KB
[{"title":"(86个子文件8.48MB)MFC写的飞行棋C++源代码","children":[{"title":"飞行棋","children":[{"title":"Computer.h <span style='color:#111;'>704B</span>","children":null,"spread":false},{"title":"program.cpp <span style='color:#111;'>4.04KB</span>","children":null,"spread":false},{"title":"Managers.cpp <span style='color:#111;'>10.00KB</span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'>251B</span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'>1.09KB</span>","children":null,"spread":false},{"title":"programDoc.h <span style='color:#111;'>1.45KB</span>","children":null,"spread":false},{"title":"Chess.cpp <span style='color:#111;'>691B</span>","children":null,"spread":false},{"title":"programDoc.cpp <span style='color:#111;'>1.80KB</span>","children":null,"spread":false},{"title":"roll.swf <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'>1.39KB</span>","children":null,"spread":false},{"title":"program.aps <span style='color:#111;'>1.47MB</span>","children":null,"spread":false},{"title":"programView.h <span style='color:#111;'>3.39KB</span>","children":null,"spread":false},{"title":"program.clw <span style='color:#111;'>1.91KB</span>","children":null,"spread":false},{"title":"program.dsp <span style='color:#111;'>5.99KB</span>","children":null,"spread":false},{"title":"program.dsw <span style='color:#111;'>583B</span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"program.obj <span style='color:#111;'>22.68KB</span>","children":null,"spread":false},{"title":"program.exe <span style='color:#111;'>1.89MB</span>","children":null,"spread":false},{"title":"programDoc.obj <span style='color:#111;'>14.98KB</span>","children":null,"spread":false},{"title":"shockwaveflash.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'>364.00KB</span>","children":null,"spread":false},{"title":"MainFrm.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Managers.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"chess.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"roll.swf <span style='color:#111;'>1.08KB</span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'>233.00KB</span>","children":null,"spread":false},{"title":"programView.obj <span style='color:#111;'>62.92KB</span>","children":null,"spread":false},{"title":"programView.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"program.res <span style='color:#111;'>1.45MB</span>","children":null,"spread":false},{"title":"chess.obj <span style='color:#111;'>4.79KB</span>","children":null,"spread":false},{"title":"Computer.obj <span style='color:#111;'>10.04KB</span>","children":null,"spread":false},{"title":"program.ilk <span style='color:#111;'>485.59KB</span>","children":null,"spread":false},{"title":"program.bsc <span style='color:#111;'>5.23MB</span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'>15.49KB</span>","children":null,"spread":false},{"title":"shockwaveflash.obj <span style='color:#111;'>99.46KB</span>","children":null,"spread":false},{"title":"Managers.obj <span style='color:#111;'>17.70KB</span>","children":null,"spread":false},{"title":"program.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'>105.57KB</span>","children":null,"spread":false},{"title":"Computer.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'>1.32MB</span>","children":null,"spread":false},{"title":"program.pdb <span style='color:#111;'>529.00KB</span>","children":null,"spread":false},{"title":"programDoc.sbr <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"program.pch <span style='color:#111;'>6.62MB</span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>3.92KB</span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"~VC4B.tmp <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"program.rc <span style='color:#111;'>10.75KB</span>","children":null,"spread":false},{"title":"shockwaveflash.h <span style='color:#111;'>4.80KB</span>","children":null,"spread":false},{"title":"~VC4C.tmp <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"Chess.h <span style='color:#111;'>758B</span>","children":null,"spread":false},{"title":"Managers.h <span style='color:#111;'>1.63KB</span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'>1.61KB</span>","children":null,"spread":false},{"title":"shockwaveflash.cpp <span style='color:#111;'>16.33KB</span>","children":null,"spread":false},{"title":"Release","children":[{"title":"program.obj <span style='color:#111;'>15.72KB</span>","children":null,"spread":false},{"title":"program.exe <span style='color:#111;'>1.48MB</span>","children":null,"spread":false},{"title":"programDoc.obj <span style='color:#111;'>9.22KB</span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'>65.00KB</span>","children":null,"spread":false},{"title":"programView.obj <span style='color:#111;'>37.72KB</span>","children":null,"spread":false},{"title":"program.res <span style='color:#111;'>1.44MB</span>","children":null,"spread":false},{"title":"chess.obj <span style='color:#111;'>2.03KB</span>","children":null,"spread":false},{"title":"Computer.obj <span style='color:#111;'>3.93KB</span>","children":null,"spread":false},{"title":"MainFrm.obj <span style='color:#111;'>10.21KB</span>","children":null,"spread":false},{"title":"shockwaveflash.obj <span style='color:#111;'>51.39KB</span>","children":null,"spread":false},{"title":"Managers.obj <span style='color:#111;'>8.15KB</span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'>1.99KB</span>","children":null,"spread":false},{"title":"program.pch <span style='color:#111;'>5.43MB</span>","children":null,"spread":false}],"spread":false},{"title":"Computer.cpp <span style='color:#111;'>3.54KB</span>","children":null,"spread":false},{"title":"programView.cpp <span style='color:#111;'>23.10KB</span>","children":null,"spread":false},{"title":"res","children":[{"title":"yellowmask.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"background.bmp <span style='color:#111;'>1.37MB</span>","children":null,"spread":false},{"title":"program.rc2 <span style='color:#111;'>399B</span>","children":null,"spread":false},{"title":"program.ico <span style='color:#111;'>4.19KB</span>","children":null,"spread":false},{"title":"programDoc.ico <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"yellowplane.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"blueplane.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"redplane.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"redmask.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"Thumbs.db <span style='color:#111;'>40.00KB</span>","children":null,"spread":false},{"title":"bluemask.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"roll.bmp <span style='color:#111;'>32.87KB</span>","children":null,"spread":false},{"title":"greenmask.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"greenplane.bmp <span style='color:#111;'>4.29KB</span>","children":null,"spread":false},{"title":"cursor1.cur <span style='color:#111;'>326B</span>","children":null,"spread":false}],"spread":false},{"title":"program.ncb <span style='color:#111;'>457.00KB</span>","children":null,"spread":false},{"title":"program.opt <span style='color:#111;'>48.50KB</span>","children":null,"spread":false},{"title":"program.h <span style='color:#111;'>1.33KB</span>","children":null,"spread":false},{"title":"program.plg <span style='color:#111;'>1.14KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 懒得去名字:
    色子点击出现空白怎么回事?是缺少控件吗?菜鸟求教!2019-12-07
  • c69:
    人机模式怎么启动?2018-12-14
  • qq_43103137:
    好,很实用,帮助很大2018-09-11

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明