基于MATALB的中国象棋对弈游戏

上传者: 43323255 | 上传时间: 2022-06-07 20:06:44 | 文件大小: 53.68MB | 文件类型: ZIP
基于MATALB的中国象棋对弈系统(我的MATLAB图形设计功能应用实例,包含MATLAB播放音乐,界面设计,鼠标点击检测,计时,保存图片,excel读写等功能),适合任何阶段的MATLAB学习者参考使用。利用Matlab实现人人对弈(PVP)的象棋游戏,要求在实现中国象棋的规则的基础上,尽量美化游戏界面,丰富功能。中国象棋的棋盘是紧密排列的9*10方格状棋盘,因而共有90个交叉点,棋子就摆放和活动在这些交叉点上。中国象棋共有32枚棋子,分为黑红两方。每方开局各执16枚棋子,每方各有一帅(将)两仕(士)两相(象)两马两车两炮五兵(卒)。对局开始时按固定位置在界河两边摆好棋子,红方先走,然后轮流下子。每种棋子的走法不同,活动范围也不尽相同。率先把对方的帅(将)“将死”的一方获胜,不分胜负则为和棋。本游戏使用Matlab R2020a(version 9.8.0.1323502)编写,使用对应版本号的Matlab Runtime实现程序的封装。 如果出现乱码问题,是由于MATLAB版本过低,编码方式与新版本不同导致的!!!!!可以复制到记事本中后,再复制到MATLAB的脚本中运行解决。

文件下载

资源详情

[{"title":"( 44 个子文件 53.68MB ) 基于MATALB的中国象棋对弈游戏","children":[{"title":"基于MATLAB的象棋游戏设计","children":[{"title":"图片","children":[{"title":"图3 保存图片.png <span style='color:#111;'> 7.27KB </span>","children":null,"spread":false},{"title":"图4 彩蛋按钮.png <span style='color:#111;'> 711.55KB </span>","children":null,"spread":false},{"title":"图2 对局界面.png <span style='color:#111;'> 548.45KB </span>","children":null,"spread":false},{"title":"图1 对局设计流程图.png <span style='color:#111;'> 355.57KB </span>","children":null,"spread":false},{"title":"图5 封装程序打开界面.png <span style='color:#111;'> 663.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"源代码","children":[{"title":"game_on.m <span style='color:#111;'> 15.56KB </span>","children":null,"spread":false},{"title":"bkgm","children":[{"title":"bgm4.mp3 <span style='color:#111;'> 3.50MB </span>","children":null,"spread":false},{"title":"bgm1.mp3 <span style='color:#111;'> 4.90MB </span>","children":null,"spread":false},{"title":"bgm8.mp3 <span style='color:#111;'> 2.17MB </span>","children":null,"spread":false},{"title":"bgm3.mp3 <span style='color:#111;'> 4.04MB </span>","children":null,"spread":false},{"title":"bgm6.mp3 <span style='color:#111;'> 3.52MB </span>","children":null,"spread":false},{"title":"bgm2.mp3 <span style='color:#111;'> 4.13MB </span>","children":null,"spread":false},{"title":"cd1.mp3 <span style='color:#111;'> 3.47MB </span>","children":null,"spread":false},{"title":"bgm7.mp3 <span style='color:#111;'> 2.38MB </span>","children":null,"spread":false},{"title":"bgm9.mp3 <span style='color:#111;'> 4.57MB </span>","children":null,"spread":false},{"title":"bgm5.mp3 <span style='color:#111;'> 6.56MB </span>","children":null,"spread":false},{"title":"cd2.mp3 <span style='color:#111;'> 4.36MB </span>","children":null,"spread":false},{"title":"cd3.mp3 <span style='color:#111;'> 3.13MB </span>","children":null,"spread":false}],"spread":false},{"title":"quote_mode.m <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"playmusic.m <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"quote","children":[{"title":"quote.xlsx <span style='color:#111;'> 10.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"zgxq.m <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false},{"title":"html","children":[{"title":"zgxq_09.png <span style='color:#111;'> 366.41KB </span>","children":null,"spread":false},{"title":"zgxq_03.png <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"zgxq.html <span style='color:#111;'> 36.66KB </span>","children":null,"spread":false},{"title":"zgxq_02.png <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"zgxq_06.png <span style='color:#111;'> 18.94KB </span>","children":null,"spread":false},{"title":"zgxq_05.png <span style='color:#111;'> 16.37KB </span>","children":null,"spread":false},{"title":"zgxq_01.png <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"zgxq_04.png <span style='color:#111;'> 8.54KB </span>","children":null,"spread":false},{"title":"zgxq_07.png <span style='color:#111;'> 32.69KB </span>","children":null,"spread":false},{"title":"zgxq_08.png <span style='color:#111;'> 32.64KB </span>","children":null,"spread":false},{"title":"zgxq.png <span style='color:#111;'> 6.43KB </span>","children":null,"spread":false}],"spread":false},{"title":"vbgm","children":[{"title":"vbgm.mp3 <span style='color:#111;'> 864.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"clearchess.m <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"2020.8.1_23时17分9秒.png <span style='color:#111;'> 550.64KB </span>","children":null,"spread":false},{"title":"2020.8.1_23时26分27秒.png <span style='color:#111;'> 470.14KB </span>","children":null,"spread":false},{"title":"2020.7.27_15时37分47秒.png <span style='color:#111;'> 521.43KB </span>","children":null,"spread":false},{"title":"2020.8.1_23时16分53秒.png <span style='color:#111;'> 551.00KB </span>","children":null,"spread":false},{"title":"2020.8.1_23时1分20秒.png <span style='color:#111;'> 548.45KB </span>","children":null,"spread":false},{"title":"2020.7.27_16时18分28秒.png <span style='color:#111;'> 526.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"s_images","children":[{"title":"木纹.jpg <span style='color:#111;'> 53.66KB </span>","children":null,"spread":false}],"spread":true}],"spread":false},{"title":"~$1814133_方逸_Matlab大作业.docx <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"设计文档 简易版.pdf <span style='color:#111;'> 679.19KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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