文件名称:24点游戏
- 所属分类:
- 游戏
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2017-07-07
- 文件大小:
- 7kb
- 下载次数:
- 0次
- 提 供 者:
- wwwhn*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
24点游戏是经典的纸牌益智游戏。从扑克中每次取出4张牌。使用加减乘除,第一个能得出24者为赢。(其中,J代表11,Q代表12,K代表13,A代表1)随机生成4个代表扑克牌牌面的数字字母,程序自动列出所有可能算出24的表达式,用户初始生命值为一给定值(比如3),初始分数为0。随机生成4个代表扑克牌牌面的数字或字母,由用户输入包含这4个数字或字母的运算表达式(可包含括号),如果表达式计算结果为24则代表用户赢了此局。使用计时器要求用户在规定时间内输入表达式,如果规定时间内运算正确则加分,超时或运算错误则进入下一题并减少生命值(不扣分)。所有成绩均可记录在TopList.txt文件中。(24 point game is the classic card puzzle game.Take 4 cards at a time from poker. Use the first 24 can be reached add, subtract, multiply and divide, to win. (of which J stands for 11, Q stands for 12, K stands for 13, A stands for 1), and programming addresses 24 games as required.
Basic requirements: randomly generated 4 cards on behalf of the surface of the card number letters, the program automatically list all possible to calculate the expression of 24, the expression evaluates to 24 representative users win this game.if the correct operation within the specified time, plus points, overtime or error in the next issue, and reduce the value of life (without deduction).
all grades can be recorded in the TopList.txt file.)
Basic requirements: randomly generated 4 cards on behalf of the surface of the card number letters, the program automatically list all possible to calculate the expression of 24, the expression evaluates to 24 representative users win this game.if the correct operation within the specified time, plus points, overtime or error in the next issue, and reduce the value of life (without deduction).
all grades can be recorded in the TopList.txt file.)
相关搜索: 24点
(系统自动生成,下载前可以参看下载内容)
下载文件列表
24点游戏\24点游戏.cpp
24点游戏\Change.h
24点游戏\compute.h
24点游戏\Judge.h
24点游戏\menu.h
24点游戏\多项式的计算.txt
24点游戏
24点游戏\Change.h
24点游戏\compute.h
24点游戏\Judge.h
24点游戏\menu.h
24点游戏\多项式的计算.txt
24点游戏