An AI-driven trading game, 'Infinite Swap,' where an LLM generates items, trading scenarios, and value estimates. It incorporates a pricing oracle and character motivations determined by embeddings and cosine similarity.
Raw Developer Origin & Technical Request
Hacker News
May 17, 2026
Hey HN,Infinite Swap is a game inspired by Kyle MacDonald’s One Red Paperclip and other bigger-and-better swap stories - you start with a green bottle cap and trade it with other characters in various locations all the way up to a house and beyond.A while ago I got inspired by viral games Infinite Craft and What Beats Rock? and wanted to make my own ‘exploring a LLM’s latent space’ style challenge. After much experimentation this became a trading style game, where the LLM comes up with all the items, trading scenarios and value estimates, which ended up being surprisingly fun and somewhat of a roller coaster to play.I found it was the most intriguing if I separated the item offer from its valuation - so I implemented a pricing oracle called “Sal” who gives this info with his, sometimes snarky, opinion after each trade.The item offer mechanism goes deeper too - each character’s profile is combined with a set of hidden motivations. I then use embeddings and cosine similarity to represent the desire the character has for the player's item, and therefore what they are willing to offer in exchange.Links to play:
iOS (small number of ads, polished): apps.apple.com/us/app/infinite-s...
Android (small number of ads, polished): play.google.com/store/apps/detail...
Web (no ads, a touch rougher than the mobile versions but still very functional): infiniteswap.appStack GPT-4.1-mini for item generation, SDXL Lightning for item images, Kokoro for voices (the latter two running on my 4090 at home). Postgres + FastAPI on k3s for the backend, native Swift/Kotlin for mobile, React for web.Keen for any feedback, bug reports, improvement suggestions, etc. I’ll be around for a few hours if you have any questions.Daniel
Developer Debate & Comments
No active discussions extracted for this entry yet.
Frequently Asked Questions
Market intelligence mapped to An AI-driven trading game, 'Infinite Swap,' where an LLM generates items, trading scenarios, and value estimates. It incorporates a pricing oracle and character motivations determined by embeddings and cosine similarity..
How is An AI-driven trading game, 'Infinite Swap,' where an LLM generates items, trading scenarios, and value estimates. It incorporates a pricing oracle and character motivations determined by embeddings and cosine similarity. positioned in the market?
Are engineers actively discussing An AI-driven trading game, 'Infinite Swap,' where an LLM generates items, trading scenarios, and value estimates. It incorporates a pricing oracle and character motivations determined by embeddings and cosine similarity.?
Which technical concepts are associated with An AI-driven trading game, 'Infinite Swap,' where an LLM generates items, trading scenarios, and value estimates. It incorporates a pricing oracle and character motivations determined by embeddings and cosine similarity.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like React and embeddings by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics