大工至善|大学至真分享 http://blog.sciencenet.cn/u/lcj2212916

博文

[转载]【源码】基于MATLAB的纸牌游戏设计

已有 1652 次阅读 2019-5-21 17:29 |系统分类:科研笔记|文章来源:转载


这是为最后一节AP计算机科学原理课开发的纸牌游戏。

Cribbage game I developed for my final AP Computer Science Principles class. 


玩家可以在一个图形用户界面中与计算机进行游戏。

Player can play against computer in a GUI. 


所有的游戏规则都予以遵循并可以自动计数。

All cribbage rules followed and counting done automatically. 


如果有玩家想帮助创建一个更好的电脑游戏算法,我会很感谢您的反馈。

If there are any cribbage players that would like to assist in creating a better computer playing algorithm I would appreciate the feedback. 


我相信电脑的游戏水平是可以接受的,但肯定还可以改进。

I believe the computer play is at an acceptable level but it could certainly be improved upon. 


该应用程序的游戏屏幕尺寸为1920x1080,可能需要针对明显不同的尺寸进行修改。

The application was designed with a 1920x1080 screen size and may need to be modified for significantly different sizes. 


祝玩得开心。

Have fun playing.


完整源码下载地址:

http://page2.dfpan.com/fs/elc8j2421329116ec41/ 


更多精彩文章请关注微信号:qrcode_for_gh_60b944f6c215_258.jpg




https://blog.sciencenet.cn/blog-69686-1180345.html

上一篇:[转载]【新书推荐】【2013.11】时空信息系统:使用STK的本体论方法
下一篇:[转载]【图片新闻】国产新型多用途无人机发射装甲车亮相2019年北京军民融合博览会
收藏 IP: 111.38.170.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 16:33

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部