52ky 发表于 2022-10-3 08:48:06

vc++课程设计

24点游戏是一种使用扑克牌来进行的益智类游戏,游戏内容是:从一副扑克牌中抽去大小王剩余52张,恣意抽取4张牌,把牌面上的数使用加、减、乘、除和括号等进行运算得出24。每张牌都必须使用一次,但不能重复使用。在不一样版本中,对J、Q、和K的管理部分区别。一个常见的版本是把J、Q、和K去掉,或当成10;还有一个版本是把J表明11,Q表明12,K代表13。本次课程设计选用将J、Q、K去掉,使四张牌在1~10这十张牌中随机取牌。
课程设计(24点游戏).doc

(24 point game is a kind of puzzle game using cards. The content of the game is: take the remaining 52 big and small kings from a deck of cards, arbitrarily draw 4 cards, and use addition, subtraction, multiplication, division and brackets to calculate the number on the card surface to get 24. Each card must be used once, but not repeatedly. In different versions, the management of J, Q, and K is different. A common version is to remove J, Q, and K, or treat them as 10; Another version shows J as 11, Q as 12, and K as 13. This course is designed to remove J, Q and K, so that four cards are randomly selected from the ten cards 1~10.
Course Design (24 point Game). doc)




页: [1]
查看完整版本: vc++课程设计