English
Open in Telegram
CC++ vs Python
C++ vs Python
@cpp_vs_python · group · Tech · indexed since 2026-08-18 archive for January 2024
114members
39 409messages in the index

Messages from January 2024

‹ January 2024 ›×
4
Dildora guruhda boʻlsangiz menga yozing
4
Game
click to show
Top Players 1. Xudoberdi Turgʻunboyev – 6440 2. JALOLIDDIN – 6410 3. Jaloliddin – 6390 4. DILSHOD – 6110 5. Хушмуротов – 5590 6. 𝙰𝚑𝚖𝚊𝚍𝚑𝚘'𝚓𝚊 𝙷𝚘𝚍𝚓𝚊𝚢𝚎𝚟 – 5350 7. @@@@ – 5160 8. Jaloliddin – 5140 9. Abduxalilov Abduxamid – 5120 10. Dildora O‘razboyeva – 5100 11. Mathematicsandit_03 – 4880 12. Dildora O‘razboyeva – 4500 13. Abdulla Inomboyev – 3960 14. Asal Ergasheva – 3550 15. Abbos – 2200 16. 🌸 – 2070 17. ㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤ – 1808 18. Probably Nothing – 1614 19. NarzullayevMeㅤ – 1449 20. Ro'zimurod Isoqov (110-20) – 1370
4
#include <iostream> #include <conio.h> #include <windows.h> using namespace std; bool gameOver; const int width = 20; const int height = 20; int x, y, fruitX, fruitY, score; int tailX[100], tailY[100]; int nTail; enum eDirection { STOP = 0, LEFT, RIGHT, UP, DOWN }; eDirection dir; void Setup() { gameOver = false; dir = STOP; x = width / 2; y = height / 2; fruitX = rand() % width; fruitY = rand() % height; score = 0; } void Draw() { system("cls"); for (int i = 0; i < width + 2; i++) cout << "#"; cout << endl; for (int i = 0; i < height; i++) { for (int j = 0; j < width; j++) { if (j == 0) cout << "#"; if (i == y && j == x) cout << "O"; else if (i == fruitY && j == fruitX) cout << "F"; else { bool printTail = false; for (int k = 0; k < nTail; k++) { if (tailX[k] == j && tailY[k] == i) { cout << "o"; printTail = true; } } if (!printTail) cout << " "; } if (j == width - 1) cout << "#"; } cout << endl; } for (int i = 0; i < width + 2; i++) cout << "#"; cout << endl; cout << "Score:" << score << endl; } void Input() { if (_kbhit()) { switch (_getch()) { case 'a': dir = LEFT; break; case 'd': dir = RIGHT; break; case 'w': dir = UP; break; case 's': dir = DOWN; break; case 'x': gameOver = true; break; } } } void Logic() { int prevX = tailX[0]; int prevY = tailY[0]; int prev2X, prev2Y; tailX[0] = x;
4
oldin ctrl+a ni bosib hammasini bir xil shrift ga oʻtkazing keyin oʻzgarmaydi
4
Game
click to show
Top Players 1. Xudoberdi Turgʻunboyev – 6440 2. JALOLIDDIN – 6410 3. Jaloliddin – 6390 4. DILSHOD – 6110 5. Хушмуротов – 5590 6. 𝙰𝚑𝚖𝚊𝚍𝚑𝚘'𝚓𝚊 𝙷𝚘𝚍𝚓𝚊𝚢𝚎𝚟 – 5350 7. @@@@ – 5160 8. Jaloliddin – 5140 9. Abduxalilov Abduxamid – 5120 10. Dildora O‘razboyeva – 5100 11. Mathematicsandit_03 – 4880 12. Dildora O‘razboyeva – 4500 13. Abdulla Inomboyev – 3960 14. Asal Ergasheva – 3550 15. Abbos – 2200 16. 🌸 – 2070 17. ㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤ – 1808 18. Saidakbar Narzullayev – 1614 19. NarzullayevMeㅤ – 1449 20. Ro'zimurod Isoqov (110-20) – 1370

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count