frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: 2d platformer game built with Codex (zero code)

4•armcat•2h ago
Hi HN!

On Sunday I spent a couple of hours building a short 2d platformer ("Prince of Persia" style). What's interesting is how I built it. I went for a zero-code approach, and built the whole thing using OpenAI Codex CLI and agent skills (with the progressive disclosure paradigm).

You can play the game here: https://acatovic.github.io/gothicvania-codex-demo/

You can see the full code, agent skills and a complete writeup here: https://github.com/acatovic/gothicvania-codex-demo

Some takeaways:

* This was one of the most enjoyable experiences ever!

* Applying harness engineering with progressive disclosure is incredibly powerful - I treated my SKILL.md as simply a ToC (a "skills map") and took it from there

* Implement -> Evaluate loops are key - I used Playwright and an evaluation checklist and the agent built and corrected automagically

* I used PROGRESS.md as a memory/log mechanism for the agent, and a way to minimize context noise

* The game dev agent was steered by the DESIGN-DOCUMENT.md, stipulating game objectives, layout and mechanics

* I used progressive prompting - I built up the game piece wise - starting with basic player mechanics, then adding tiles, NPCs, interactions, sounds, menus - one prompt at a time

Zero code written by me. Never even looked at the game engine (Phaser) API - just gave the skills a link to the documentation. The future is here!

Credits to ansimuz (gothicvania assets) and Pascal Belisle (music).

*NOTE:* The assets were *NOT* created by AI. Backgrounds and probably tiles you could generate with AI, but sprites are not quite there yet (I tried a number of different models). Something to explore fully in the future.

Enjoy and let me know what you think!

Comments

andsoitis•2h ago
Impressive. Higher resolution graphics would be super sexy.
armcat•2h ago
I love old school platformers but definitely worth trying to replicate this process with a higher res game.
yuppiepuppie•21m ago
This is very cool.

Out of curiosity, did you have any previous experience with game development to be able to actively critique the direction that the agent was developing towards?

Also, hope you dont mind, but I added it to the HN Arcade :) https://hnarcade.com/games/games/gothicvania

Show HN: Maths, CS and AI Compendium

https://github.com/HenryNdubuaku/maths-cs-ai-compendium
2•HenryNdubuaku•54m ago•0 comments

Show HN: Microgpt is a GPT you can visualize in the browser

https://microgpt.boratto.ca
250•b44•21h ago•23 comments

Show HN: GEDB – A pure-Go embedded database

3•ReturnErr•1h ago•0 comments

Show HN: Knock-Knock.net – Visualizing the bots knocking on my server's door

https://knock-knock.net
198•djkurlander•23h ago•86 comments

Show HN: 2d platformer game built with Codex (zero code)

4•armcat•2h ago•3 comments

Show HN: SnkvDB – Single-header ACID KV store using SQLite's B-Tree engine

https://github.com/hash-anu/snkv
4•hashmakjsn•2h ago•1 comments

Show HN: VOOG – Moog-style polyphonic synthesizer in Python with tkinter GUI

https://github.com/gpasquero/voog
88•gpasquero•20h ago•35 comments

Show HN: Pangolin: Open-source identity-based VPN (Twingate/Zscaler alternative)

https://github.com/fosrl/pangolin
70•miloschwartz•1d ago•22 comments

Show HN: Harmonic embeddings beat random init and work frozen – no tokenizer

https://github.com/atech-hub/Wave-Coherence-as-a-Computational-Primitive
2•atech-77•3h ago•1 comments

Show HN: Lightwave – Real-time notes app, 3.5 years of hand-rolled JavaScript

42•jv22222•19h ago•29 comments

Show HN: JeffTube

https://jmail.world/jefftube
14•dvrp•12h ago•2 comments

Show HN: Tanin – TUI Noise Generator

https://github.com/AnonMiraj/Tanin
4•anongazelle•9h ago•2 comments

Show HN: Animus Invoice – Invoice tracking without the busywork

https://animusinvoice.com/beta.html
2•ilkerozbay•7h ago•0 comments

Show HN: Rover – Embeddable web agent

https://www.rtrvr.ai/blog/10-billion-proof-point-every-website-needs-ai-agent
27•arjunchint•2d ago•14 comments

Show HN: Copy-and-patch compiler for hard real-time Python

https://github.com/Nonannet/copapy
63•Saloc•5d ago•11 comments

Show HN: Off Grid – Run AI text, image gen, vision offline on your phone

https://github.com/alichherawalla/off-grid-mobile
122•ali_chherawalla•1d ago•64 comments

Show HN: Arcmark – macOS bookmark manager that attaches to browser as sidebar

https://github.com/Geek-1001/arcmark
88•ahmed_sulajman•1d ago•20 comments

Show HN: GPU Perpetual Futures Prototype

https://github.com/zacharyfrederick/compex
7•ozzymandiaz96•20h ago•1 comments

Show HN: Fieldnotes

https://fieldnote.ink
14•samcgraw•1d ago•7 comments

Show HN: DSCI – Dead Simple CI

https://github.com/melezhik/DSCI
18•melezhik•23h ago•8 comments

Show HN: Untranslated Einstein paper available in English for the first time

https://www.repository.cam.ac.uk/items/0aaee538-3638-4c47-bf5d-1cb4321d6b0b
4•ajw287•11h ago•0 comments

Show HN: HackerTok – HN with Local Recommendations

https://hackertok.blode.co
11•mblode•16h ago•4 comments

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
228•datavorous_•2d ago•68 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
229•mickamy•2d ago•44 comments

Show HN: Katipo is a minimal alternative internet with a Vulkan based browser

https://github.com/mjdave/katipo
4•majicDave•13h ago•3 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
148•pattle•4d ago•86 comments

Show HN: Talk2Code – Text your codebase from your phone (~150 lines of Python)

https://github.com/dchisholm125/Talk2Code
2•dchisholm125•13h ago•2 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
246•xx123122•2d ago•31 comments

Show HN: Purple Computer – Turn an old laptop into a calm first kids computer

https://purplecomputer.org
6•imtavi•14h ago•4 comments

Show HN: MOL – A programming language where pipelines trace themselves

https://github.com/crux-ecosystem/mol-lang
38•MouneshK•4d ago•16 comments