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."

Комментарии • 88

  • @DraxilSpada-vc2wg
    @DraxilSpada-vc2wg Месяц назад +470

    Portal but chell actually has brain damage

  • @shibainu2528
    @shibainu2528 Месяц назад +354

    Found footage of the average game journalist in 2056

    • @ethonicyt
      @ethonicyt Месяц назад +7

      LMAOOOOO

    • @Doc_K
      @Doc_K Месяц назад +8

      2056?
      Strange I’ve seen that number around a lot in this place

    • @Draconicfish2679
      @Draconicfish2679 Месяц назад +1

      “MAKE IT STOP”

  • @archie_deane
    @archie_deane Месяц назад +159

    Wheatley: You are a good jumper.
    Pi: *jumps twice*

  • @DogsRNice
    @DogsRNice Месяц назад +55

    Portal 2 but if GLaDOS released the neurotoxin during pi day and not bring your daughter to work day

  • @Ixion125
    @Ixion125 Месяц назад +144

    Can PI beat Portal 2?
    Yes, yes it can
    Can it do it before humanity goes extinct?
    Let's find out
    😂😂😂

    • @shibainu2528
      @shibainu2528 Месяц назад +5

      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.

    • @irselr
      @irselr  Месяц назад +21

      @@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.

    • @Ixion125
      @Ixion125 Месяц назад +8

      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 😂

    • @thezipcreator
      @thezipcreator Месяц назад +7

      @@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

    • @eragonawesome
      @eragonawesome Месяц назад +2

      ​@@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

  • @Redstone_Co
    @Redstone_Co Месяц назад +49

    Watching this is a backseaters torture

    • @Toadfish10
      @Toadfish10 Месяц назад +10

      watching this is straight-up torture

    • @Melonist
      @Melonist Месяц назад +1

      This is what they force prisoners to watch in Guantanamo Bay

  • @tlpa
    @tlpa Месяц назад +49

    theres definitely a section of pi that has the perfect numbers required for beating portal 2

  • @Allthegoodhandlesaretakenlmao
    @Allthegoodhandlesaretakenlmao Месяц назад +71

    All I can think about is how hard the more open test chambers are going to be. This is insane.

  • @joelsterne
    @joelsterne Месяц назад +16

    Pi just really likes floor moss and reading signs

  • @TinyDeskEngineer
    @TinyDeskEngineer Месяц назад +16

    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.

    • @38forger
      @38forger Месяц назад +4

      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

  • @hendelburgisunavaliable
    @hendelburgisunavaliable Месяц назад +55

    amazing. _remembers timed sequences at the end of the game :(_

    • @irselr
      @irselr  Месяц назад +37

      monkeys and typewriters. it could do it

    • @theencolony5595
      @theencolony5595 Месяц назад +9

      ​@@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

    • @irselr
      @irselr  Месяц назад +12

      @@theencolony5595 you’re probably right, but we will give it a go anyway.

    • @Haprenti
      @Haprenti Месяц назад +1

      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.

    • @shibainu2528
      @shibainu2528 Месяц назад

      @@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.

  • @theguywiththewhiteblanket
    @theguywiththewhiteblanket Месяц назад +38

    there is a universe where the game devs made the game for pi to play it perfectly! but not this one.

    • @marvellousmarv9072
      @marvellousmarv9072 Месяц назад +9

      somewhere within pi should be a sequence that finishes this game perfectly

    • @theguywiththewhiteblanket
      @theguywiththewhiteblanket Месяц назад +3

      @@marvellousmarv9072 correct... And maybe we can find it if it's in the largest calculation so far!

    • @vanyam1
      @vanyam1 Месяц назад +2

      there is a universe where the pi was made to play portal 2 perfectly!

  • @Slappynote
    @Slappynote Месяц назад +24

    Pi is trying his best. Bless his heart.

    • @tkplushies
      @tkplushies Месяц назад

      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

  • @snazzy1050
    @snazzy1050 7 дней назад

    Game: Go back go bed
    Chell: *is obsessed with the door*
    Game: Go to the door
    Chell: *goes everywhere except the door*

  • @JohnnyJoannou
    @JohnnyJoannou Месяц назад +17

    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

  • @PunmasterSTP
    @PunmasterSTP Месяц назад +2

    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 🤣

  • @JoBot__
    @JoBot__ Месяц назад +2

    13:17 There's the six sequential nines!

  • @Sievert9001
    @Sievert9001 Месяц назад +4

    Given enough time, the pi sequence can complete any game.

    • @Sievert9001
      @Sievert9001 Месяц назад +1

      Also, you should definitely try other irrational numbers to see which one does better

    • @SneedFeedAndSeed
      @SneedFeedAndSeed Месяц назад +3

      It can't if the game requires fast enough inputs, unless you make the pi scroll really fast

  • @strawcoalbean
    @strawcoalbean Месяц назад +5

    Now this is peak gameplay

  • @Coldtea25
    @Coldtea25 Месяц назад +19

    Type 2 demo type stuff

    • @budcsizmazia
      @budcsizmazia Месяц назад +1

      I think this is a type 3, type 2 is stuck in skybox

    • @AJES-ky2zk
      @AJES-ky2zk Месяц назад

      At Least HE Didn't Have To Do Some Super Specific Things To Get It Working

    • @Coldtea25
      @Coldtea25 Месяц назад

      @@budcsizmazia oh right, I have a terrible memory lol

  • @living_daybreak
    @living_daybreak Месяц назад +1

    bro refused to go back to sleep

  • @nullhydrangea
    @nullhydrangea Месяц назад +1

    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

  • @Codypro134
    @Codypro134 Месяц назад

    this is the modern monkey typewriter theorum

  • @considerthehumbleworm
    @considerthehumbleworm Месяц назад +9

    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

    • @irselr
      @irselr  Месяц назад +4

      this might be a solid answer to the concern of speed. but how long would 9 be, and how long would 0 be?

    • @carcthula
      @carcthula Месяц назад +7

      @@irselr 1-9 tenths of a second, where 0 would be a whole second

  • @nuc2726
    @nuc2726 21 день назад

    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...

  • @gibsonpennel7677
    @gibsonpennel7677 Месяц назад +7

    This is great i wonder what digit it will be when it gets finished

    • @gibsonpennel7677
      @gibsonpennel7677 Месяц назад +1

      if it does get finished

    • @RubenGarcia-pt8tp
      @RubenGarcia-pt8tp Месяц назад +2

      @@gibsonpennel7677if we just give it enough time it will get it finished

  • @oberonpanopticon
    @oberonpanopticon Месяц назад +3

    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

  • @uattias
    @uattias Месяц назад +1

    8:30 they have actual brain damage.

  • @y7o4ka
    @y7o4ka Месяц назад

    One must imagine Pi happy

  • @Ruffrolf
    @Ruffrolf 28 дней назад

    Hello!
    Helloooooo!
    Open the door!
    go on!

  • @hashvolting
    @hashvolting Месяц назад

    flying cars they said

  • @elianas1121
    @elianas1121 Месяц назад

    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!

  • @IsaacFoster..
    @IsaacFoster.. Месяц назад +1

    It would take months to finish a test

  • @uattias
    @uattias Месяц назад

    I'm kinda worried about the part where Wheatley kills them.

  • @bumpybumpybumpybumpy
    @bumpybumpybumpybumpy Месяц назад +4

    This is horrible. Please keep it up!

  • @honor_gamer
    @honor_gamer 25 дней назад

    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.

  • @WellSwolen69
    @WellSwolen69 Месяц назад +1

    You are going to drastically speed up inputs or it won't get past time sensitive areas

  • @twisstedtoast
    @twisstedtoast Месяц назад

    Pi? Raspberry pi?

  • @foxdancemedia
    @foxdancemedia Месяц назад

    really clever

  • @Idiotcalledren
    @Idiotcalledren Месяц назад

    i mean wheatley said the player had brain damage but its the subject being injected with binary

  • @boredjason8748
    @boredjason8748 Месяц назад +2

    maybe put it on a simpler game

  • @alex.g7317
    @alex.g7317 28 дней назад +1

    Ok so what does each number represent?

    • @snazzy1050
      @snazzy1050 7 дней назад +1

      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

    • @alex.g7317
      @alex.g7317 7 дней назад +1

      @ ah thanks

  • @IgnatYT612
    @IgnatYT612 Месяц назад

    AI loves whis game

  • @the6278
    @the6278 Месяц назад

    no, the camera movement isn't precise enough

  • @rzuffik_
    @rzuffik_ Месяц назад

    nice

  • @roachnet3945
    @roachnet3945 Месяц назад

    Its got this

  • @RubenGarcia-pt8tp
    @RubenGarcia-pt8tp Месяц назад +2

    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?

    • @irselr
      @irselr  Месяц назад +2

      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.

  • @mrbanana7110
    @mrbanana7110 Месяц назад

    If you want to make it finish the game u wil need to speed up the game and the input cuz its so slow

  • @Sanker1
    @Sanker1 Месяц назад

    real

  • @firimousse3676
    @firimousse3676 Месяц назад

    it can't in our lifetime

  • @Youguyfhdudhr
    @Youguyfhdudhr Месяц назад

    do a live stream of this