‹ BackHN Continuity

Thread

Analyzing Frontier Model Progress with My Favourite Game: Prince of Persia

63 points · 43 comments · msephton

  1. Kuyawa · · focus · HN ↗
    I am going to try to build the original Prince of Persia using Swift as it is the best language for building a macOS game. Being a classic 2D cinematic platformer, Apple's native frameworks provide exactly what I need without the overhead of a massive cross-platform engine, and I love simplicity

    So here goes my weekend, flag this and get a life

    1. andsoitis · · focus · HN ↗
      Share it when you're done! Even if it isn't complete complete.
      1. Kuyawa · · focus · HN ↗
        Already started and will be ready soon, check back in an hour

        <a href="https:&#x2F;&#x2F;github.com&#x2F;kuyawa&#x2F;prince" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kuyawa&#x2F;prince

        1. Kuyawa · · focus · HN ↗
          Sorry about the delay, some bugs to swat

          2 hours later and $2 in tokens, Prince of Persia in Swift 6 for MacOS is ready (MacMini M1 and Tahoe 26.6.2 is my setup)

          Not fully tested by me (AI tested it fully on every milestone, ~340 tests) but for sure tonight I&#x27;ll do it from beginning to end

          Let me know what you think, feedback is always welcome

          And btw, cmd+1..5 can change the resolution to a bigger canvas, I prefer it at cmd+5 almost full screen. Haven&#x27;t tested retina display as I use a TV as monitor and resolution is not optimal

          Enjoy!

          * I love DeepSeek

          * All rights belong to their owners

          * Interesting docs to read: readme, architecture and prompt

          * There is an app in build folder, that&#x27;s the game

          * Don&#x27;t trust code downloaded from the internet, ask your AI model of choice to review it for malicious code. I trust DeepSeek, but you shouldn&#x27;t trust me

          1. Kuyawa · · focus · HN ↗
            Adding respawn and saving last level so restart takes you there and not to the beginning

            I forgot where the sword is, can&#x27;t pass the first guard, hmm

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.