搜索资源列表
24gamefull
- 一个小游戏,用来计算24点,随机产生四个数,用减加乘除组成算式,使得结果为24,或者是自己预先设定的数-A small game, 24 points used to calculate the randomly generated four the number of formula use less plus multiplication and division, making the results of 24, or their own pre-set number of
c119
- 完成两个大整数的乘除加减运算,并将两个数的结果一数组形式输出-Complete two big integer multiplying of addition and subtraction,And the result of two Numbers one array form output
24点游戏
- 24点游戏是经典的纸牌益智游戏。从扑克中每次取出4张牌。使用加减乘除,第一个能得出24者为赢。(其中,J代表11,Q代表12,K代表13,A代表1)随机生成4个代表扑克牌牌面的数字字母,程序自动列出所有可能算出24的表达式,用户初始生命值为一给定值(比如3),初始分数为0。随机生成4个代表扑克牌牌面的数字或字母,由用户输入包含这4个数字或字母的运算表达式(可包含括号),如果表达式计算结果为24则代表用户赢了此局。使用计时器要求用户在规定时间内输入表达式,如果规定时间内运算正确则加分,超时或运算错