16 wprintf(L
" ๐ฒ๐ฒ๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ\r\n");
18 wprintf(L
"๐ฒ ๐ฒ ๐ฒ ๐ฒ๐ฒ ๐ฒ๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ ๐ฒ๐ฒ๐ฒ\r\n");
20 wprintf(L
" ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ\r\n");
22 wprintf(L
"๐ฒ ๐ฒ ๐ฒ ๐ฒ ๐ฒ ๐ฒ ๐ฒ ๐ฒ๐ฒ\r\n");
24 wprintf(L
"๐ฒ ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ ๐ฒ๐ฒ ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ\r\n");
29 printCentered(L
"๐ฎ Controls: W๐, Aโช, S๐, Dโฉ, Spacebar๐ฝ, Enterโ
, Escโ");
41 wprintf(L
"๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ๐ฒ\r\n");
43 wprintf(L
"๐ฒ ๐ฒ ๐ฒ ๐ฒ ๐ฒ\r\n");
45 wprintf(L
"๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ\r\n");
47 wprintf(L
"๐ฒ ๐ฒ ๐ฒ ๐ฒ\r\n");
49 wprintf(L
"๐ฒ๐ฒ๐ฒ ๐ฒ ๐ฒ๐ฒ๐ฒ๐ฒ\r\n");
58 item[1]=L
"๐ฎ Start Game";
59 item[2]=L
"๐ Guide";
60 item[3]=L
"๐ณ Credits";
62 item[5]=L
"๐บ Singleplayer";
63 item[6]=L
"๐ป Multiplayer";
64 item[7]=L
"๐ Return";
66 for(i=start; i<=end; i++){
68 widthSpacing(wcslen(item[0]) + wcslen(item[i]) + wcslen(item[8]));
69 wprintf(L
"%ls%ls%ls\r\n", item[0], item[i], item[8]);
92 wprintf(L
"- Goal: Put your organizational skills and endurance to the test by clearing as many lines as possible.\r\n");
93 wprintf(L
"- Clear lines: Maneuver the falling Tetriminos to fit them together within the Matrix. To clear a line, fill every square within a single row.\r\n");
94 wprintf(L
"- Score points: Earn points by clearing lines. Clear multiple lines at once to increase your scoring opportunities.\r\n");
95 wprintf(L
"- Ghost piece: Use the Ghost Piece to determine the best fit for the falling Tetrimino. This helpful guide appears directly below the falling Tetrimino and displays possible placements.\r\n");
96 wprintf(L
"- Next queue: Preview the upcoming Tetrimino in the Next Queue to plan ahead and increase your scoring opportunities.\r\n");
97 wprintf(L
"- Hold queue: Store a falling Tetrimino in the Hold Queue for later use.\r\n");
98 wprintf(L
"- Game over: Stack the Tetriminos too high and the game is over!\r\n");
void printCentered(wchar_t *text)
Print text centered horizontally based on string length.
void delayTimer(int time)
Call the system sleep.
void heightSpacing(int filledHeight)
Apply a vertical spacing based on window heigth and what need to be printed.
void widthSpacing(int filledWidth)
Apply an horizontal spacing based on window width and what need to be printed.
void exitFailure(void)
Exit the program after cleaning everything on screen.
void clearCLI(void)
Call the system function to clear the cli.