From 4f94c1ddf49e05a08269bbfbe55e27d66f2d7fd4 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 13:45:54 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20colors,=20e?= =?UTF-8?q?mojis,=20and=20cross-platform=20UX=20to=20NumberGuess?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com> --- NumberGuess/NumberGuess.cpp | 41 +++++++++++++++++++++++++------------ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/NumberGuess/NumberGuess.cpp b/NumberGuess/NumberGuess.cpp index c82e2f8..3454ce3 100644 --- a/NumberGuess/NumberGuess.cpp +++ b/NumberGuess/NumberGuess.cpp @@ -2,14 +2,27 @@ #include // For rand() and srand() #include // For time() #include +#include using namespace std; +// ANSI Color Constants +const string GREEN = "\033[32m"; +const string RED = "\033[31m"; +const string CYAN = "\033[36m"; +const string YELLOW = "\033[33m"; +const string BOLD = "\033[1m"; +const string RESET = "\033[0m"; + void showEasterEgg() { - cout << "\n[!] EASTER EGG ACTIVATED: THE ZEN MODE" << endl; - cout << "Inspired by the Word 1.1a secret found 29 years later." << endl; - cout << "EiJackGH Lab - Saying YES in 2026." << endl; - cout << "========================================" << endl; + cout << "\n" << CYAN << BOLD; + cout << "╔════════════════════════════════════════╗\n"; + cout << "║ 🌟 EASTER EGG ACTIVATED: THE ZEN MODE ║\n"; + cout << "╠════════════════════════════════════════╣\n"; + cout << "║ Inspired by the Word 1.1a secret found ║\n"; + cout << "║ 29 years later. ║\n"; + cout << "║ EiJackGH Lab - Saying YES in 2026. ║\n"; + cout << "╚════════════════════════════════════════╝\n" << RESET; } int main() { @@ -21,12 +34,12 @@ int main() { int guess = 0; int attempts = 0; - cout << "--- EI-JACK LAB: NUMBER GUESSER V1.0 ---" << endl; + cout << CYAN << BOLD << "--- 🎮 EI-JACK LAB: NUMBER GUESSER V1.0 ---" << RESET << endl; cout << "I'm thinking of a number between 1 and 100." << endl; - cout << "(Hint: Type 'zen' to see the credits)" << endl << endl; + cout << YELLOW << "(Hint: Type 'zen' to see the credits)" << RESET << endl << endl; while (guess != secretNumber) { - cout << "Enter your guess: "; + cout << BOLD << "Enter your guess: " << RESET; cin >> input; // Check for Easter Egg @@ -39,23 +52,25 @@ int main() { try { guess = stoi(input); } catch (...) { - cout << "Invalid input. Please enter a number." << endl; + cout << RED << "⚠️ Invalid input. Please enter a number." << RESET << endl; continue; } attempts++; if (guess > secretNumber) { - cout << ">>> Too high! Try again." << endl; + cout << RED << "📉 Too high! Try again." << RESET << endl; } else if (guess < secretNumber) { - cout << ">>> Too low! Try again." << endl; + cout << RED << "📈 Too low! Try again." << RESET << endl; } else { - cout << "\nCONGRATULATIONS!" << endl; - cout << "You found it in " << attempts << " attempts." << endl; + cout << "\n" << GREEN << BOLD << "🎉 CONGRATULATIONS!" << RESET << endl; + cout << "You found it in " << YELLOW << attempts << RESET << " attempts." << endl; } } cout << "----------------------------------------" << endl; - system("pause"); // Essential for Dev-C++ to keep the window open + cout << "\nPress Enter to exit..." << endl; + cin.ignore(10000, '\n'); + cin.get(); return 0; } From 9aa563f3ccb6144fcf7f89237506353e663b54a5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 25 Mar 2026 13:57:23 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Remove=20'venv'?= =?UTF-8?q?=20from=20requirements.txt=20to=20fix=20CI=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com> --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index cfaa995..4ad1501 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ numpy pandas requests -venv