Analyzing Frontier Model Progress with My Favourite Game: Prince of Persia
Thread
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
Analyzing Frontier Model Progress with My Favourite Game: Prince of Persia
Loading the complete thread in the background. This saved snapshot is available now. Refresh
Unofficial Hacker News client; not affiliated with Y Combinator.
smokel · · focus · HN ↗
> My first prompt was simple: "in this original code there 6502 assembly code for prince of persia, use the save level files and try to do it in c# console."
Do what in the what now in the console?
gcanyon · · focus · HN ↗
I'm assuming a language barrier on the part of the author. I wonder if the models would do better being prompted in the author's main language.
cavemandaveman · · focus · HN ↗
koala_man · · focus · HN ↗
daemonologist · · focus · HN ↗
InsideOutSanta · · focus · HN ↗
Also, I feel like the LLMs would have done better if they had started from scratch each time, rather than being burdened by the output from the previous attempt.
aksss · · focus · HN ↗
opiotrek · · focus · HN ↗
criemen · · focus · HN ↗
The highest scoring submission that won the contest had a high score of around 137k. Last week, I had GPT-6 Astra, Sol and Luna implement and hill-climb on this task, as I wanted to see how big the difference in smartness is. Luna implemented something, but never exceeded ca. 20k points, with a large variance. Sol got something in the area of the humans implementation.
Astra, which finished fastest, had a highscore of around 1.7Mm when the game seemed to fairly reliably crash. On the way, it disassembled parts of the ROM to extract information about the game.
I didn't do a ton work to document and measure the specifics, but it was very impressive.
looperhacks · · focus · HN ↗
criemen · · focus · HN ↗
Comparing strategies, though, Astra does something pretty different from the highest scoring submission. It doesn't predict the RNG, instead it reacts to the visuals on-screen, planning ahead by estimating velocity of all objects on screen. Unlike the winning solution, it actively flies the ship, whereas the winning solution basically only rotates and teleports. So Astra behaves more like a regular "perfect" player would, rather than one that breaks the PRNG.
suddenlybananas · · focus · HN ↗
criemen · · focus · HN ↗
To be fair, though, I mainly ran this experiment to distinguish models, not to see if they were better than humans or not, so for that purpose it didn't really matter if the basic conditions were the same or not.
NitpickLawyer · · focus · HN ↗
You should check the logs, there's probably a bunch of retro gaming forums that got hacked behind the scenes :D
rhipitr · · focus · HN ↗
pawelduda · · focus · HN ↗
Kuyawa · · focus · HN ↗
That looks really amazing
dofm · · focus · HN ↗
Prince of Persia is a piece of contemplative, subtle, beautifully, artistically minimal motion puzzle art. God knows what that is.
dayvid · · focus · HN ↗
7734128 · · focus · HN ↗
Kuyawa · · focus · HN ↗
[dead]
Kuyawa · · focus · HN ↗
So here goes my weekend, flag this and get a life
andsoitis · · focus · HN ↗
Kuyawa · · focus · HN ↗
<a href="https://github.com/kuyawa/prince" rel="nofollow">https://github.com/kuyawa/prince
Kuyawa · · focus · HN ↗
2 hours later and $2 in tokens, Prince of Persia in Swift 6 for MacOS is ready
Not fully tested by me (AI tested it fully on every milestone, ~340 tests) but for sure tonight I'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't tested retina display as I use a TV as monitor and resolution is not optimal
Enjoy!
Kuyawa · · focus · HN ↗
I forgot where the sword is, can't pass the first guard, hmm
dofm · · focus · HN ↗
Please.
hapless · · focus · HN ↗
but no
they actually did port the game to the lowest-end hardware available in 1989. you could actually play prince of persia on an 8088 with a cga card!
brandonmenc · · focus · HN ↗
hapless · · focus · HN ↗
Not to mention, the PC was a pretty, uh, "challenging" platform for video games. It amazes me someone managed to port something as graphically sophisticated as PoP to an 8088 with CGA.
brandonmenc · · focus · HN ↗
InsideOutSanta · · focus · HN ↗
jessechili · · focus · HN ↗
[dead]
tehlike · · focus · HN ↗
jablongo · · focus · HN ↗
tehlike · · focus · HN ↗
msephton · · focus · HN ↗
oynqr · · focus · HN ↗
jackblack11 · · focus · HN ↗
jackblack11 · · focus · HN ↗
gambiting · · focus · HN ↗
"now char coming but movement everything wrong ... prince is not in floor"
I'm a games developer and I have no idea what OP is asking for here.
jablongo · · focus · HN ↗
duhhhhh1212 · · focus · HN ↗
Don't waste your time.
opiotrek · · focus · HN ↗
rothron · · focus · HN ↗
That gets you past the problem of the lack of specificity in English, but requires you to already have the thing you want to get made. At least tokens are cheap.
OakNinja · · focus · HN ↗
Programming has always been defining the problem you have. Nothing has changed from that perspective. Sometimes that problem is recreating something that already exists :)
keeda · · focus · HN ↗
<a href="https://georgzoeller.com/blog/posts/what-reverse-engineering-and-modernising-an-old-war-game-tells-us-about-the-econ/" rel="nofollow">https://georgzoeller.com/blog/posts/what-reverse-engineering...
He also did this thing where he “spliced” different game concepts and turned WoW into an FPS: <a href="https://news.ycombinator.com/item?id=49652089">https://news.ycombinator.com/item?id=49652089
In case you mistake him for an “AI booster”, you should see this guy’s other posts, he is extremely critical of the AI frontier labs and Tech Bros and this whole AI bubble.
But he is also a very experienced game developer, and under his control the latest models have pulled off these crazy feats. What you are reading is the analysis of a domain expert and what it means for the industry.