TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: State Sandbox – An AI-powered political simulation game

2 点作者 sshh124 个月前
Hi all, I built a political simulation game that uses AI reasoning models to let you run a country through arbitrary executive actions. Think of it as an &quot;executive order simulator&quot; inspired by games like Civilization and NationStates, but where you can take any action you want - even copying real executive orders into the game.<p>The game generates a unique country for you with detailed characteristics (culture, economy, crime rates, etc). Each turn, you face natural events like protests, sanctions, or disasters, and can respond with any policy decisions via free-form text. The AI then simulates complex ripple effects - for example, a policy promoting domestic oil might affect your CO2 emissions, international trade relations, and even traffic fatality rates.<p>Technical details: - Built with Next.js + FastAPI - Uses OpenAI&#x27;s reasoning models (o1 and o1-mini) to handle simulation - Structured as a multi-agent system where o1 orchestrates key changes and o1-mini handles detailed updates - Everything including the country flags is AI generated<p>The source code is available at: <a href="https:&#x2F;&#x2F;github.com&#x2F;sshh12&#x2F;state-sandbox">https:&#x2F;&#x2F;github.com&#x2F;sshh12&#x2F;state-sandbox</a><p>I wrote up my learnings about working with reasoning models and the technical challenges in building this at: <a href="https:&#x2F;&#x2F;blog.sshh.io&#x2F;p&#x2F;socioeconomic-modeling-with-reasoning" rel="nofollow">https:&#x2F;&#x2F;blog.sshh.io&#x2F;p&#x2F;socioeconomic-modeling-with-reasoning</a>

1 comment

thebrothel_ai4 个月前
Cool idea! Some feedback: generation takes a really long time, is there any way to speed it up? I was almost ready to give up after a few mins.
评论 #42884090 未加载