CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c l
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c l - List
[
Other Riddle games
]
Turboc_RusaBoxGame2Player
DL : 0
使用TurboC编写的俄罗斯方块小游戏,对于初期学习C的同学非常有帮助,即使不能编译,你也可以借鉴其中的思路,这是双人版本-源语言: 中文 允许输入拉丁字符的拼音请键入文字或网站地址,或者上传文档。 取消 Shǐyòng TurboC biānxiě de èluósī fāng kuài xiǎo yóuxì, duìyú chūqí xuéxí C de tóngxué fēicháng yǒu bāngzhù, jíshǐ bu néng biānyì, nǐ yě kěyǐ jièjiàn qízhōng de sīlù, zhè shì shuāngrén bǎnběn中文(简体)英语日语Alpha The using TurboC written Tetris game, for students of early learning C, even if it does not compile, you can also learn from one of the ideas, this is a double version
Date
: 2025-12-27
Size
: 5kb
User
:
ln
[
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-27
Size
: 269kb
User
:
天河
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.