public class CoolestGameEver
private static Random gambling = new Random();
private static int[,] building = new int[8,8];
private static int windowX = gambling.Next(1, 7);
private static int windowY = gambling.Next(0, 7);
private int[] sudoku = {1, 2, 4, 3, 3, 4, 1, 2, 2, 1, 3, 4, 4, 3, 2, 1};
private int[] finalSudoku = {};
private static string codeInA1Z26;
private static bool isPlayerGambling = true;
public static void Main()
codeInA1Z26 = EncodeA1Z26();
Console.WriteLine(windowX + " " + windowY + "\n");
Console.WriteLine("== BOMBARDINO ASSASSINO TEXT ADVENTURE ==\n== A game by; El_Palito45 and PinesIsZen ==");
Console.WriteLine("\nYou are a detective looking a tall building with 8 floors with 8 windows each. Theres a man with a bomb inside one of the building's windows.");
Console.WriteLine("'THERE'S A BOMB! THERE'S A BOMB, I'M GONNA EXPLODE!!!!!' The man says.");
Console.WriteLine("The man left a note outside the building. You pick it up and hold it in your hand.");
public static void Options()
Console.WriteLine("\nWhat do you want to do?");
Console.WriteLine("1: Look at the building.");
Console.WriteLine("2: Look at the note.");
Console.WriteLine("3: Choose a window.");
string answerText = Console.ReadLine().ToLower();
float answeOptionsFinalNumber;
isPlayerGambling = false;
Console.WriteLine("\nYou look at the building in front of you. All the windows are closed but one of them has the man with a bomb inside.\n");
else if (answerText == "2")
isPlayerGambling = false;
Console.WriteLine("\nYou look at the note in your hands. There are some things written on it.");
Console.WriteLine("\n'The sudoku reveals the horizontal position of the window I'm in...'");
string drawSudoku = DrawSudoku();
Console.WriteLine(drawSudoku);
Console.WriteLine("? + ? = X");
Console.WriteLine("\n'... and this next code reveals it's vertical position.'");
Console.WriteLine(codeInA1Z26);
else if (answerText == "3")
float answerGuessXFinalNumber;
float answerGuessYFinalNumber;
Console.WriteLine("\nWhat is the window horizontal (X) position? (type something invalid to cancel)");
string guessWindowX = Console.ReadLine().ToLower();
bool canAnswerGuessXBeFloat = float.TryParse(guessWindowX, out answerGuessXFinalNumber);
if (answerGuessXFinalNumber == windowX + 1)
if (canAnswerGuessXBeFloat == true)
Console.WriteLine("\nWrite an integer number between 1 and 8");
Console.WriteLine("\nCan't you write a proper answer?");
Console.WriteLine("\nAnd what is the window vertical (Y) position? (type something invalid to cancel)");
string guessWindowY = Console.ReadLine().ToLower();
bool canAnswerGuessYTBeFloat = float.TryParse(guessWindowY, out answerGuessYFinalNumber);
if (answerGuessYFinalNumber == windowY + 1)
if (canAnswerGuessYTBeFloat == true) { Console.WriteLine("\nWrite an integer number between 1 and 8"); }
else { Console.WriteLine("\nCan't you write a proper answer?"); }
Console.WriteLine("\nYou chose the window (" + answerGuessXFinalNumber + ", " + answerGuessYFinalNumber + "), and the window is now open. You answer is...");
if (correctWindowX == true && correctWindowY == true)
Console.WriteLine("... CORRECT!!! You... Wait...");
Console.WriteLine("Did you just HAPPEN to guess the window right??? WHAT??? THAT'S A 1.5625% CHANCE!");
Console.WriteLine("The man, now in clear view, turns towards you and says: 'HOW DID YOU DO IT??? I CAN'T BELIEVE I WAS DEFEATED WITH THE POWER OF GAMBLING NAHHHHHHHHHSAKAIOMCAIIMMCIIXMXIODXDI'");
Console.WriteLine("The man with the bomb evaporated into thin air.");
Console.WriteLine("\nYOU WON! The man with the bomb is gone and the building is saved!");
Console.WriteLine("True Ending.");
Console.WriteLine("... CORRECT!!! You're now face to face with the man.");
Console.WriteLine("Both of you look at each other. You can tell the man is around 40 years, hasn't showered in a long while, and overall looks like he lives in his mom's basement and annoys people on twitter all day.");
Console.WriteLine("He suddenly screams: 'NOOOOO I HATE SUNLIGHT NAHHHHHHHHHSAKAIOMCAIIMMCIIXMXIODXDI'");
Console.WriteLine("The man with the bomb evaporated into thin air.");
Console.WriteLine("\nYOU WON! The man with the bomb is gone and the building is saved!");
Console.WriteLine("Good Ending.");
Console.WriteLine("... WRONG!!! The man with the bomb wasn't in that one!");
Console.WriteLine("The man noticed a window was opened, and threatens to blow up the building if you try that again!");
Console.WriteLine("... However, he slips on a banana peel and falls, accidentally activates the bomb.");
Console.WriteLine("KABOOM!!! THE BUILDING EXPLODES IN A COMICALLY LARGE EXPLOSION AND EVERYONE INSIDE AND AROUND IT IMMEDIATELY DIES!!!");
Console.WriteLine("\nYOU DIED! The man with the bomb is gone but also is everything else...");
Console.WriteLine("Bad Ending.");
if (answerText == "amongus")
Console.WriteLine("\nSTOP POSTING ABOUT AMONG US! I'M TIRED OF SEEING IT! MY FRIENDS ON TIKTOK SEND ME MEMES, ON DISCORD IT'S FUCKING MEMES! I was in a server, right? and ALL OF THE CHANNELS were just among us stuff. I-I showed my champion underwear to my girlfriend and t-the logo I flipped it and I said 'hey babe, when the underwear is sus HAHA DING DING DING DING DING DING DING DI DI DING' I fucking looked at a trashcan and said 'THAT'S A BIT SUSSY' I looked at my penis I think of an astronauts helmet and I go 'PENIS? MORE LIKE PENSUS' AAAAAAAAAAAAAAHGESFG");
else if (answerText == "gambling" || answerText == "gamble")
Console.WriteLine("\nThat's right, you love gambling! But now's not the time, since there's kinda a man with a bomb inside a building threatening a ton of people.");
else if (answerText != "1" || answerText != "2" || answerText != "3")
bool canAnswerBeFloat = float.TryParse(answerText, out answeOptionsFinalNumber);
if (canAnswerBeFloat == true) { Console.WriteLine("Please write either 1, 2, or 3"); }
else {Console.WriteLine("\nUh... You can't choose to do that."); }
public static void CreateSudoku()
int sudokuDigit1 = gambling.Next(0, 15);
int sudokuDigit2 = gambling.Next(0, 15);
while (sudokuDigit1 == sudokuDigit2)
sudokuDigit2 = gambling.Next(0, 15);
int numberOfDigitsToBlankOut = gambling.Next(3, 5);
public static string DrawSudoku()
string finalSudokuToDraw = "ERROR";
return finalSudokuToDraw;
public static string EncodeA1Z26()
string encodedText = "ERROR";
encodedText = "20 23 15";
encodedText = "20 8 18 5 5";
encodedText = "6 15 21 18";
encodedText = "6 9 22 5";
encodedText = "19 5 22 5 14";
encodedText = "5 9 7 8 20";
public static void PrintBuilding()
+-----------------------------------------+
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
1 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
2 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
3 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
4 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
5 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
6 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
7 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
8 | | | | | | | | | | | | | | | | | |
| +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ |
+-----------------+-----+-----------------+