Can Pi Beat Portal 2? - Part 1
Вставка
- Опубліковано 23 вер 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."
Wheatley: You are a good jumper.
Pi: *jumps twice*
Found footage of the average game journalist in 2056
All I can think about is how hard the more open test chambers are going to be. This is insane.
Pi is trying his best. Bless his heart.
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
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.
Now this is peak gameplay
This is actually crazy. Very nice!
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
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
Type 2 demo type stuff
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.
This is horrible. Please keep it up!
AI loves whis game
nice
maybe put it on a simpler game
Its got this
it can't in our lifetime