这是为最后一节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://blog.sciencenet.cn/blog-69686-1180345.html
上一篇:[转载]【新书推荐】【2013.11】时空信息系统:使用STK的本体论方法
下一篇:[转载]【图片新闻】国产新型多用途无人机发射装甲车亮相2019年北京军民融合博览会