Can Pi Beat Portal 2? - Part 1
HTML-код
- Опубликовано: 10 ноя 2024
- Context: I (poorly) made a program that takes Pi and turns it's digits into gamepad inputs, which i decided to run through Portal 2. i set it up in a way that makes it /theoretically/ possible for it to beat the game, though very unlikely. i will record these videos in 1 hour segments and upload them whenever I have free time. Enjoy :)
Additional note: You might notice that it stops crouching during the sequence with Wheatley, this is a Portal 2 gamepad bug, and there's nothing I can do about it. It fixes itself after a short while though.
"hello. helloooo. hello! go on. hello! open the door! go on. helloooo."
Portal but chell actually has brain damage
portal 2: brainless%
true
Found footage of the average game journalist in 2056
LMAOOOOO
2056?
Strange I’ve seen that number around a lot in this place
“MAKE IT STOP”
Wheatley: You are a good jumper.
Pi: *jumps twice*
It got happy
Portal 2 but if GLaDOS released the neurotoxin during pi day and not bring your daughter to work day
Can PI beat Portal 2?
Yes, yes it can
Can it do it before humanity goes extinct?
Let's find out
😂😂😂
I'm looking at the total number and I am worried about the integer limit. Pi is supposed to be infinitely long, but there is an integer limit at *some* point.
@@shibainu2528i have the first billion digits of pi stored. at 1 digit per second, it will take around 31 years of nonstop footage to get to the end of that, and if it’s still going / i’m still uploading it after that, i’ll figure out a solution to get the next billion digits.
Well, the integers are indeed finite in length but an unsigned integer can count up to 2^32-1
Assuming 1 input every second we don't need to worry for at least 136 years, but even then unsigned 64 bit integers also exist, so we wouldn't need to worry for at least 584.9 billion years.
At that point I'd say the biggest problem is how many digits of pi we know which as for now is 105 trillion digits
But again, I doubt humanity will still exist at that point 😂
@@Ixion125 also, if for some reason it is necessary, unbounded integers exist (usually stored in base-256), which can take as much memory as your computer has
@@shibainu2528there is absolutely no reason the whole string needs to be stored a) in one variable or b) all at once. It would be entirely reasonable to have a program running that doesn't even store the digits of π, it just keeps crunching the next digit and sending it as an input. It would also be entirely reasonable to precalculate an absurd number of digits and store them as just text, no need to use an integer since, you know, π is not an integer, and the individual digits of π will always be 9 or smaller, which can even be handled by a single byte
Watching this is a backseaters torture
watching this is straight-up torture
This is what they force prisoners to watch in Guantanamo Bay
theres definitely a section of pi that has the perfect numbers required for beating portal 2
All I can think about is how hard the more open test chambers are going to be. This is insane.
Pi just really likes floor moss and reading signs
Due to Pi's irrational nature, it contains the input sequence needed to beat any game at some point in it. The question, then, is if Pi can beat Portal 2 some time _before_ the computer the game is running on either stops running, stops being able to calculate more digits, or is destroyed in the heat death of the universe.
it can't. the input speed is too slow for the timed sections. by all margins, this concept in it's CURRENT state as of this video is impossible
amazing. _remembers timed sequences at the end of the game :(_
monkeys and typewriters. it could do it
@@irselr it's actually most likely impossible. For the more precise parts of the game (i.e long shots in the "Tartarus" section, chase sequences,etc.), the polling rate will simply be too slow for it to actually line anything up, essentially softlocking you
@@theencolony5595 you’re probably right, but we will give it a go anyway.
If it's possible to softlock and it somehow happens, then it's also over, although you'd have the option to retry with a different mapping of digits to actions.
@@theencolony5595 I am thinking about the fact core at the ending, in order to have the computer even *grab* the core, they need to line the two portals up perfectly and position themselves to run down the orange gel. Not as impossible as one would think because at *some* point they are going to get to that situation.
The problem I am seeing is that, they are going to constantly start walking, stop, read the next number, then keep walking, so they won't gain enough speed to shoot out of the other portal and grab the fact core.
there is a universe where the game devs made the game for pi to play it perfectly! but not this one.
somewhere within pi should be a sequence that finishes this game perfectly
@@marvellousmarv9072 correct... And maybe we can find it if it's in the largest calculation so far!
there is a universe where the pi was made to play portal 2 perfectly!
Pi is trying his best. Bless his heart.
But 3.141592653589793238462643383279502884197169 39937510582097494459230781640628620899862803 48253421170679821480865132823066470938446095 50582231725359408128481117450284102701938521 10555964462294895493038196442881097566593344 61284756482337867831652712019091456485669234 60348610454326648213393607260249141273724587 00660631558817488152092096282925409171536436 78925903600113305305488204665213841469519415 11609433057270365759591953092186117381932611 79310511854807446237996274956735188575272489 12279381830119491298336733624406566430860213 94946395224737190702179860943702770539217176 29317675238467481846766940513200056812714526 35608277857713427577896091736371787214684409 01224953430146549585371050792279689258923542 01995611212902196086403441815981362977477130 99605187072113499999983729780499510597317328 16096318595024459455346908302642522308253344 68503526193118817101000313783875288658753320 83814206171776691473035982534904287554687311 59562863882353787593751957781857780532171226
806613001927876611195909216420198 is a weird way to play games
Game: Go back go bed
Chell: *is obsessed with the door*
Game: Go to the door
Chell: *goes everywhere except the door*
An idea!
Change the host_timescale to a much higher value to speed up the game. Then see if you can speed up your number picking / input mapping to match. This way you can see how long it would have taken in normal time to progress to certain areas.
It could also let you watch it back even faster and pick out entertaining sequences to edit into a shorter format.
Maybe make a manual save every "5" game-minutes, then you can recall that spot and start the sequence again at the position it was at at the time of the save. This way you can play it back at normal speed to capture something funny. Though I feel like small inconsistencies at a high timescale maybe wouldn't translate perfectly 1:1 at normal speed.
Orrr I think you can record source demos somehow, not sure the limits on length or speed, but that would allow you to replay the whole capture back at any speed you want to capture the highlights
I'm reminded of the part later in the game when Wheatley makes the cube/turret hybrids and screams at them to solve the puzzle 🤣
13:17 There's the six sequential nines!
Given enough time, the pi sequence can complete any game.
Also, you should definitely try other irrational numbers to see which one does better
It can't if the game requires fast enough inputs, unless you make the pi scroll really fast
Now this is peak gameplay
Type 2 demo type stuff
I think this is a type 3, type 2 is stuck in skybox
At Least HE Didn't Have To Do Some Super Specific Things To Get It Working
@@budcsizmazia oh right, I have a terrible memory lol
bro refused to go back to sleep
This is such a unique concept holy shit. I really hope we get to see it beat the game. You can do it pi I believe in you
this is the modern monkey typewriter theorum
Oh i have a suggestion actually! What if instead of assigning each number to an action, you used pairs of digits with the first being the action and the second being the amount of time you do it
this might be a solid answer to the concern of speed. but how long would 9 be, and how long would 0 be?
@@irselr 1-9 tenths of a second, where 0 would be a whole second
Technically speaking, there are actually a string of Pi input sequences which would be the absolute optimal way for pi to beat the game without any mistakes. Finding it would be another ordeal...
This is great i wonder what digit it will be when it gets finished
if it does get finished
@@gibsonpennel7677if we just give it enough time it will get it finished
The cool thing is that if you can figure out the sequence of inputs required to beat a level, then you can determine exactly where in pi that sequence will first occur and thus when the bot will do it
8:30 they have actual brain damage.
One must imagine Pi happy
Hello!
Helloooooo!
Open the door!
go on!
flying cars they said
This time, on Pi Plays Portal… (Spoilers ahead!)
The journey begins with Pi waking up, doing a little exercise, and going back to sleep. Then Pi wakes up, with just a *minor* case of serious brain damage, and opens the door to let Wheatley in. Wheatley takes the room somewhere else, and instructs Pi to look for a gun that makes holes. Pi looks very, very carefully, and eventually makes it all the way to a room with a box and a button, before looking around some more. Can’t risk missing that gun, after all!
It would take months to finish a test
I'm kinda worried about the part where Wheatley kills them.
This is horrible. Please keep it up!
idk which *3.14159265358979323846* but perhaps an Raspberry PI programm~ oh wait, the program coded the actual 0 to 9-ish digits... whoops, my bad, i was miss leaded.
You are going to drastically speed up inputs or it won't get past time sensitive areas
Pi? Raspberry pi?
really clever
i mean wheatley said the player had brain damage but its the subject being injected with binary
maybe put it on a simpler game
Ok so what does each number represent?
0. Jump
1. Grab
2. Crouch
3. Blue portal
4. Orange portal
5. Walk
6. Look up
7. Look down
8. Look left
9. Look right
@ ah thanks
AI loves whis game
no, the camera movement isn't precise enough
nice
Its got this
This is fantastic. Can you give a few more details about the actions it can perform? For example, when moving left or right, does it always move the same amount or does it have any variance? Can it jump while walking?
sure, i made it so that jump and crouch also walk the player forwards, because there are some sections where you need to crouch under things or possibly jump up things to progress. the only actions that it cannot perform are walk left, walk right, walk backwards, and zoom, because i don't think it needs them.
If you want to make it finish the game u wil need to speed up the game and the input cuz its so slow
real
it can't in our lifetime
do a live stream of this