Lazy Game Challenge
6 minutes to read
We are given a service that consists of a betting system. We bet a certain amount of money and we need to guess a number between 1 and 10 in less than 10 attempts. For example:
$ nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N : y
Money you have : 500$
Place a Bet : 500
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess : 3
Computer's number : 7
Your Guess : 3
Sorry Wrong Guess, Try Again !. -_-
Make a Guess : 3
Computer's number : 3
Your Guess : 3
Sorry Wrong Guess, Try Again !. -_-
You made it !.
You won JACKPOT !..
You thought of what computer thought !.
Your balance has been updated !
Current balance : 1500$
Want to play again? Y/N : n
Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..
However, if we lose the game, out balance will decrease:
$ python3 -c 'print("y\n500\n" + "0\n" * 10 + "n")' | nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N :
Money you have : 500$
Place a Bet :
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess :
Computer's number : 7
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 4
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 9
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 5
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Sorry you didn't made it !
Play Again !...
Better Luck next Time !.
Sorry you lost some money !..
Your balance has been updated !.
Current balance : :
0$
Want to play again? Y/N : Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..
The objective is to have more than 1000000. The key here is that we can bet negative numbers, and if we lose, our new balance will be the current one minus our bet, so we can enter a negative value such as -1000000 and lose the game so that we end up having 1000500:
$ python3 -c 'print("y\n-1000000\n" + "0\n" * 10 + "n")' | nc thekidofarcrania.com 10001
Welcome to the Game of Luck !.
Rules of the Game :
(1) You will be Given 500$
(2) Place a Bet
(3) Guess the number what computer thinks of !
(4) computer's number changes every new time !.
(5) You have to guess a number between 1-10
(6) You have only 10 tries !.
(7) If you guess a number > 10, it still counts as a Try !
(8) Put your mind, Win the game !..
(9) If you guess within the number of tries, you win money !
(10) Good Luck !..
theKidOfArcrania:
I bet you cannot get past $1000000!
Are you ready? Y/N :
Money you have : 500$
Place a Bet :
Loading : ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 100%
The Game is On, Good Luck !..
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 1
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 4
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 8
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 1
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 3
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 2
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 6
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Make a Guess :
Computer's number : 7
Your Guess : 0
Sorry Wrong Guess, Try Again !. -_-
Sorry you didn't made it !
Play Again !...
Better Luck next Time !.
Sorry you lost some money !..
Your balance has been updated !.
Current balance : :
1000500$
What the... how did you get that money (even when I tried to stop you)!? I guess you beat me!
The flag is CTFlearn{d9029a08c55b936cbc9a30_i_wish_real_betting_games_were_like_this!}
Thank you for playing !
Made by John_123
Small mods by theKidOfArcrania
Give it a (+1) if you like !..