Post #1721 · Posted at 2020-09-28 09:14:46pm 3.5 years ago
tfw you write code to estimate how likely you are to win the minigame
tfw Zenius BBCode doesn't support preformatted whitespace and you have to resort to non-copypasteable non-whitespace Unicode workarounds
I'd like to pick the Easy version, please
import random
DIFFICULTY = 5
successes = 0
for _simulation in range(10000):
⠀⠀answer = list(range(1,DIFFICULTY+1))
⠀⠀random.shuffle(answer)
⠀⠀print(f"Answer: {answer}")
⠀⠀possible = [list(range(1,DIFFICULTY+1)) for _ in range(DIFFICULTY)]
⠀⠀first_guess = True
⠀⠀for _attempt in range(3):
⠀⠀⠀⠀if first_guess:
⠀⠀⠀⠀⠀⠀first_guess = False
⠀⠀⠀⠀⠀⠀guess = list(range(1,DIFFICULTY+1))
⠀⠀⠀⠀⠀⠀random.shuffle(guess)
⠀⠀⠀⠀else:
⠀⠀⠀⠀⠀⠀while True:
⠀⠀⠀⠀⠀⠀⠀⠀guess = [random.choice(possible[i]) for i in range(DIFFICULTY)]
⠀⠀⠀⠀⠀⠀⠀⠀if sorted(guess) == list(range(1,DIFFICULTY+1)):
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀break
⠀⠀⠀⠀print(f"Guess: {guess}")
⠀⠀⠀⠀for i in range(DIFFICULTY):
⠀⠀⠀⠀⠀⠀if guess[i] == answer[i]:
⠀⠀⠀⠀⠀⠀⠀⠀possible[i] = [guess[i]]
⠀⠀⠀⠀⠀⠀⠀⠀for j in range(DIFFICULTY):
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀if j != i:
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀if guess[i] in possible[j]:
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀possible[j].remove(guess[i])
⠀⠀⠀⠀⠀⠀else:
⠀⠀⠀⠀⠀⠀⠀⠀possible[i].remove(guess[i])
⠀⠀⠀⠀print(f"Possible: {possible}")
⠀⠀⠀⠀if guess == answer:
⠀⠀⠀⠀⠀⠀successes += 1
⠀⠀⠀⠀⠀⠀break
⠀⠀print()
print(successes)
DIFFICULTY = 5
successes = 0
for _simulation in range(10000):
⠀⠀answer = list(range(1,DIFFICULTY+1))
⠀⠀random.shuffle(answer)
⠀⠀print(f"Answer: {answer}")
⠀⠀possible = [list(range(1,DIFFICULTY+1)) for _ in range(DIFFICULTY)]
⠀⠀first_guess = True
⠀⠀for _attempt in range(3):
⠀⠀⠀⠀if first_guess:
⠀⠀⠀⠀⠀⠀first_guess = False
⠀⠀⠀⠀⠀⠀guess = list(range(1,DIFFICULTY+1))
⠀⠀⠀⠀⠀⠀random.shuffle(guess)
⠀⠀⠀⠀else:
⠀⠀⠀⠀⠀⠀while True:
⠀⠀⠀⠀⠀⠀⠀⠀guess = [random.choice(possible[i]) for i in range(DIFFICULTY)]
⠀⠀⠀⠀⠀⠀⠀⠀if sorted(guess) == list(range(1,DIFFICULTY+1)):
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀break
⠀⠀⠀⠀print(f"Guess: {guess}")
⠀⠀⠀⠀for i in range(DIFFICULTY):
⠀⠀⠀⠀⠀⠀if guess[i] == answer[i]:
⠀⠀⠀⠀⠀⠀⠀⠀possible[i] = [guess[i]]
⠀⠀⠀⠀⠀⠀⠀⠀for j in range(DIFFICULTY):
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀if j != i:
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀if guess[i] in possible[j]:
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀possible[j].remove(guess[i])
⠀⠀⠀⠀⠀⠀else:
⠀⠀⠀⠀⠀⠀⠀⠀possible[i].remove(guess[i])
⠀⠀⠀⠀print(f"Possible: {possible}")
⠀⠀⠀⠀if guess == answer:
⠀⠀⠀⠀⠀⠀successes += 1
⠀⠀⠀⠀⠀⠀break
⠀⠀print()
print(successes)
tfw Zenius BBCode doesn't support preformatted whitespace and you have to resort to non-copypasteable non-whitespace Unicode workarounds
I'd like to pick the Easy version, please
Post #1722 · Posted at 2020-09-28 10:35:04pm 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Last updated: 2020-09-28 10:37pm
You're a man after my own heart. Let's bring up the console:
Your goal, of course, is to turn all of those Xs into numbers. If you do that in three attempts, you win the money. Remember, again, they each contain a number from 1 to 5, and there are no repeating numbers in the code. Best of luck!
[X] [X] [X] [X] [X]
Attempts remaining: 3
Jackpot: $2,500,000
Attempts remaining: 3
Jackpot: $2,500,000
Your goal, of course, is to turn all of those Xs into numbers. If you do that in three attempts, you win the money. Remember, again, they each contain a number from 1 to 5, and there are no repeating numbers in the code. Best of luck!
Post #1723 · Posted at 2020-09-28 10:57:50pm 3.5 years ago
Zowayix | |
---|---|
Member | |
1,144 Posts | |
Not Set | |
Reg. 2009-09-19 | |
[5] [1] [2] [3] [4]
Post #1724 · Posted at 2020-09-28 11:18:24pm 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Last updated: 2020-09-28 11:31pm
[X] [X] [X] [3] [X]
Attempts remaining: 2
Jackpot: $2,500,000
Attempts remaining: 2
Jackpot: $2,500,000
Only one lit. However, it does get easier getting one, and now you know a number in each slot that it definitely can't be. I work out your odds at the moment to be 1-in-8. Another guess!
Post #1725 · Posted at 2020-09-29 01:30:00am 3.5 years ago
Zowayix | |
---|---|
Member | |
1,144 Posts | |
Not Set | |
Reg. 2009-09-19 | |
[2] [5] [4] [3] [1]
Post #1726 · Posted at 2020-09-29 07:46:23am 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
[X] [5] [X] [3] [X]
Attempts remaining: 1
Jackpot: $2,500,000
Attempts remaining: 1
Jackpot: $2,500,000
Another lit up, but you have to get all three in one go, now. However, if you think about it, I think you can break this one. Good luck.
Post #1727 · Posted at 2020-09-29 08:34:47am 3.5 years ago
Zowayix | |
---|---|
Member | |
1,144 Posts | |
Not Set | |
Reg. 2009-09-19 | |
*insert expanding brain meme* There's only one possibility left, isn't there?
[4] [5] [1] [3] [2]
[4] [5] [1] [3] [2]
Post #1728 · Posted at 2020-09-29 08:59:07am 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
[4] [5] [1] [3] [2]
FORTRESS BREACHED
Jackpot: $2,500,000
FORTRESS BREACHED
Jackpot: $2,500,000
Ohhh, you are good. The Fortress is breached for only the second time ever, and you get yourself a sweet boosted-up $4,600,000 out of the deal. Neat! That puts you on $36,640,442, which is a pretty damn good first round, I'd say.
However, there is another minigame to play, and it's NXC's! It's an old faithful, too. Split Decision is coming up real soon.
Post #1729 · Posted at 2020-09-29 09:08:53am 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
*sweats
Post #1730 · Posted at 2020-09-29 09:33:05am 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Last updated: 2020-09-29 09:37am
Welcome, NXC, to SPLIT DECISION!
The aim of this game is to get the maximum amount of money out of a series of increasing Split Decisions. The game involves these twelve squares:
Ten cash values, 2 Bombs. The game is made of 6 rounds. In each round, you pick two squares. We show you the first square, and ask whether you'd like to bank the cash, or reject it for the second square's contents. Regardless of what you choose, both squares are eliminated, and we continue until all 12 squares are gone. Play the perfect game, and you win $20,000,000! With your boost, that's $45,000,000!
Now, that's all very good until we reach the Bombs. If you bank a Bomb, your bank is instantly wiped to zero. However, you CAN continue the game if you still have squares to pick. HOWEVER, if you reveal a bomb in your first square, both squares are instantly eliminated. You can't switch out a bomb, you see. That'd be too easy.
You get an opportunity to leave the game with the cash you've currently earned after the 2nd and 4th rounds.
So, let's reveal the grid!
Right, without further ado, let's have two numbers.
The aim of this game is to get the maximum amount of money out of a series of increasing Split Decisions. The game involves these twelve squares:
Ten cash values, 2 Bombs. The game is made of 6 rounds. In each round, you pick two squares. We show you the first square, and ask whether you'd like to bank the cash, or reject it for the second square's contents. Regardless of what you choose, both squares are eliminated, and we continue until all 12 squares are gone. Play the perfect game, and you win $20,000,000! With your boost, that's $45,000,000!
Now, that's all very good until we reach the Bombs. If you bank a Bomb, your bank is instantly wiped to zero. However, you CAN continue the game if you still have squares to pick. HOWEVER, if you reveal a bomb in your first square, both squares are instantly eliminated. You can't switch out a bomb, you see. That'd be too easy.
You get an opportunity to leave the game with the cash you've currently earned after the 2nd and 4th rounds.
So, let's reveal the grid!
Right, without further ado, let's have two numbers.
Post #1731 · Posted at 2020-09-29 09:52:43am 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
7 and 10, please
Post #1732 · Posted at 2020-09-29 10:01:47am 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
A good one! However, there could be more behind 10. Do you wanna risk it, though? There could be, after all, a bomb.
$2,500,000. Take it or leave it?
Post #1733 · Posted at 2020-09-29 05:50:53pm 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
bank, I don't want to risk it
12 and 4 next
12 and 4 next
Post #1734 · Posted at 2020-09-29 06:29:56pm 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Right decision! The lowest amount is out of the game!
BANK: $2,500,000
MAXIMUM: $20,000,000
Now, we go for 12...
It's low money. There could be more behind 4, but there could be a bomb.
$500,000. Take it or leave it?
Post #1735 · Posted at 2020-09-29 06:52:50pm 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
leave it, get 4
I'll take 8 and 5 next
I'll take 8 and 5 next
Post #1736 · Posted at 2020-09-29 07:05:26pm 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
And there goes your money!
BANK: $0
MAXIMUM: $16,500,000
I presume you'd still want to keep playing so...let's pop 8!
2 million is a good spot. But...the 8 million is still in the running.
$2,000,000. Take it or leave it?
Post #1737 · Posted at 2020-09-29 07:12:41pm 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
oh noooo
bank, 2 and 3 next
bank, 2 and 3 next
Post #1738 · Posted at 2020-09-29 08:34:26pm 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Last updated: 2020-09-29 08:37pm
Good call!
BANK: $2,000,000
MAXIMUM: $16,500,000
You're playing well, so let's look at 2...
BRUH! Wonderful grab. But does the 8 million lie behind #3? Don't forget, you have the choice to leave after this round.
$5,000,000. Take it or leave it?
Post #1739 · Posted at 2020-09-30 02:44:25am 3.5 years ago
NXCProduction | |
---|---|
Member | |
1,770 Posts | |
Reg. 2011-03-01 | |
"" |
uhhhhhh
bank, and I'm out of the minigame. for once I want to play it safe
bank, and I'm out of the minigame. for once I want to play it safe
Post #1740 · Posted at 2020-09-30 07:44:58am 3.5 years ago
Oni-91 | |
---|---|
Moderator+ | |
13,492 Posts | |
Reg. 2006-10-20 | |
"Ambivalent Viennetta" |
Good call on that round, and you've left! Where was the eight million?
WIN: $7,000,000
So, you did leave a good ten million on the table, but the risk was too great to bomb out! Never mind, the seven million you took out of the game we will boost and it means that you've took out of the game a tasty $15,750,000! Daaaamn. So, your current total has just shattered the nine-figure boundary! But what has it done to the scores?
01. randomness: $164,696,805
02. K-Step: $133,728,082
03. aidan9030: $130,448,574
04. Imationer: $116,379,167
05. NXCProduction: $108,028,050
06. CuzcoBlocko: $104,397,800
07. Quickman: $94,536,771
08. Spirit of Nightmare: $91,580,756
09. FoRCeDNaTuRe: $80,642,093
10. Daffa212162: $76,762,958
11. Chianticat10: $70,789,857
12. vincentw: $66,999,888
13. gameboy573: $66,749,887
14. DBHxgiga92: $65,867,124
15. djVERTICAI: $63,782,498
16. SomethingRandom: $46,278,051
17. ElectroDDR: $38,767,500
18. Zowayix: $36,640,442
19. Artyomich: $10,817,796
20. PsychoElle: $7,930,299
21. Cowtao: $5,057,500
02. K-Step: $133,728,082
03. aidan9030: $130,448,574
04. Imationer: $116,379,167
05. NXCProduction: $108,028,050
06. CuzcoBlocko: $104,397,800
07. Quickman: $94,536,771
08. Spirit of Nightmare: $91,580,756
09. FoRCeDNaTuRe: $80,642,093
10. Daffa212162: $76,762,958
11. Chianticat10: $70,789,857
12. vincentw: $66,999,888
13. gameboy573: $66,749,887
14. DBHxgiga92: $65,867,124
15. djVERTICAI: $63,782,498
16. SomethingRandom: $46,278,051
17. ElectroDDR: $38,767,500
18. Zowayix: $36,640,442
19. Artyomich: $10,817,796
20. PsychoElle: $7,930,299
21. Cowtao: $5,057,500
The current pass is not over, as we have two brand new players for round 27! Can NXC break the top 3? We'll find out then!