CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - h.3 - List
[
Other Riddle games
]
gameof21points
DL : 0
1.1 程序功能介绍 一个21点的扑克牌游戏,玩家一共可以要5张牌,但如果牌的点数超过21点,则就暴了,自动出局;在不超过21点的情况下,玩家与庄家比牌的点数大小,大者赢。 1.2 程序设计要求 (1)将所有的函数与相应的数据封装到类中,并改写主程序,使程序简化。 (2)程序中一共有十三张牌可以抽取,大于十点的点数为0.5。 (3)要求庄家永远不会暴庄,几庄家可以查看下一张牌,若大于21点,则拒绝,当然在游戏规则上不能泄露这点秘密。 (4)高级玩家可以查看下一张牌,即按H键,然后按要求输入密码,密码正确可以看牌,并决定是否要牌。 超级玩家可以查看并修改下一张牌,即输入指定的字符或字符串,然后按要求输入密码,密码正确,可以看自己和计算机的下一张牌,并指定下一张牌的点数。 (5) 每次要牌后可以设定赔率,即如果开始下的是十元钱的注,如果牌好,你可以要求再下注,当然不能超过你的总钱数。 (6)将界面的提示说明改成中文界面,界面的解释详细友好,可以吸引更多的玩家。
Date
: 2025-12-16
Size
: 10kb
User
:
talent
[
Other Riddle games
]
NineGrid
DL : 0
九宫格小游戏,自动出题和解题.九宫格(即3格宽×3格高)的正方形状,每一格又细分为一个九宫格。在每一个小九宫格中,分别填上1至9的数字,让整个大九宫格每一列、每一行的数字都不重复。 -Squares of small games, questions and solve problems automatically. Squares (ie, 3 cells wide × 3 grid H) of square-shaped, each divided into a fine grid squares. Small squares in each of the respective fill in the figures 1-9, so that the whole big squares in each row, each row will not repeat the figures.
Date
: 2025-12-16
Size
: 798kb
User
:
huang
[
Other Riddle games
]
ShuDu
DL : 0
数独是一种源自18世纪末瑞士的数学智力拼图游戏。拼图是九宫格(即3格宽×3格高)的正方形状,每一格又细分为一个九宫格。在每一个小九宫格中,分别填上1至9的数字,让整个大九宫格每一列、每一行的数字都不重复。 数独的玩法逻辑简单,数字排列方式千变万化。不少教育者认为数独是锻炼脑筋的好方法。-Sudoku is a kind of Switzerland originated in late 18th century mathematical intelligence jigsaw puzzle. Puzzle is the squares (ie, 3 cells wide × 3 grid H) of square-shaped, each divided into a fine grid squares. Small squares in each of the respective fill in the figures 1-9, so that the whole big squares in each row, each row will not repeat the figures. The logic of playing Sudoku is simple, the arrangement of the ever-changing figures. Many educators think Sudoku is a good way to exercise their brains.
Date
: 2025-12-16
Size
: 2kb
User
:
weat
[
Other Riddle games
]
eluosifangkuai
DL : 0
俄罗斯方块 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 #include <iostream> #include <stdlib.h> #include <windows.h> #include <time.h> #include <conio.h> using namespace std #define A1 0//A代表长条型,B为方块,C为L型,D为闪电型(实在无法描述那个形状) #define A2 1 #define B 2 #define C11 3 #define C12 4 #define C13 5 #define C14 6 #define C21 7 #define C22 8 #define C23 9 #define C24 10 #define D11 11 #define D12 12 #define D21 13 #define D22 14 /*typedef struct COORD { // coord. SHORT X // horizontal coordinate SHORT Y // vertical coordinate } COORD */ void SetPos(int i,int j)//设定光标位置 { COORD pos={i,j} HANDLE Out=GetStdHandle(STD_OUTPUT_HANDLE) SetConsoleCursorPosition(Out, pos) }-Tetris. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .# Include <iostream># Include <stdlib.h># Include <windows.h># Include <time.h># Include <conio.h> using namespace std # define A1 0// A representative of the long bar, B is a block, C is L-shaped, D is the Lightning (really can not describe the shape)# define A2 1# define B 2# define C11 3# define C12 4# define C13 5# define C14 6# define C21 7# define C22 8# define C23 9# define C24 10# define D11 11# define D12 12# define D21 13# define D22 14 /* typedef struct COORD {//coord SHORT X .// horizontal coordinate SHORT Y // vertical coordinate} COORD */void SetPos (int i, int j)// set the cursor position {COORD pos = {i, j} HANDLE Out = GetStdHandle (STD_OUTPUT_HANDLE) SetConsoleCursorPosition (Out, pos) }. . . .
Date
: 2025-12-16
Size
: 269kb
User
:
天河
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.