Lemmy.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
alessandro to PC GamingEnglish · 4 months ago

A 60KB pdf file that runs Tetris.

th0mas.nl

external-link
message-square
10
link
fedilink
67
external-link

A 60KB pdf file that runs Tetris.

th0mas.nl

alessandro to PC GamingEnglish · 4 months ago
message-square
10
link
fedilink
alert-triangle
You must log in or register to comment.
  • rdri@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 months ago

    Info

    https://th0mas.nl/2025/01/12/tetris-in-a-pdf/

  • SplashJackson
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    Wow

  • ZC3rr0r
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    4 months ago

    This dude also got Doom to run in a PDF FYI. Pretty insane level of scripting support for a supposedly static document format.

    • BCsven
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      Which is why I open unknown source PDFs in a VM :)

  • henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 months ago

    This did not work on my iPhone. Instead there’s just an empty white box in the upper left-hand corner of the page.

    • reddig33@lemmy.world
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      1
      ·
      4 months ago

      That’s probably a good thing. Why on earth should a pdf file be able to do something like this? Just seems like another potential attack surface.

    • DdCno1@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Which PDF reader were you using?

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        It’s the built-in PDF reader as part of the browser. I’m not aware that it has any name.

        • DdCno1@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          It would probably work in Adobe Reader. Surprisingly, it works in Firefox built-in PDF viewer, which has iffy compatibility with some more complex PDFs, but it might not work in the very different iOS build of this browser.

  • Sunshine (she/her)
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    That’s impressive.

PC Gaming

pcgaming

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

For PC gaming news and discussion. PCGamingWiki

Rules:

  1. Be Respectful.
  2. No Spam or Porn.
  3. No Advertising.
  4. No Memes.
  5. No Tech Support.
  6. No questions about buying/building computers.
  7. No game suggestions, friend requests, surveys, or begging.
  8. No Let’s Plays, streams, highlight reels/montages, random videos or shorts.
  9. No off-topic posts/comments, within reason.
  10. Use the original source, no clickbait titles, no duplicates. (Submissions should be from the original source if possible, unless from paywalled or non-english sources. If the title is clickbait or lacks context you may lightly edit the title.)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 825 users / day
  • 2.19K users / week
  • 5.05K users / month
  • 12.5K users / 6 months
  • 1.44K local subscribers
  • 11K subscribers
  • 5.74K Posts
  • 40.6K Comments
  • Modlog
  • mods:
  • EXiLE
  • Uncle
  • KairuByte@lemmy.dbzer0.com
  • UI: 0.19.11
  • BE: 0.19.11-n.1
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org