A PvP nation simulation game where players create nations based on their political ideals and compete for alliances with AI-controlled nations led by historical figures.
A multiplayer nation simulation game inspired by NationStates, where players create nations aligned with their political ideals and compete against AI-controlled nations led by historical personalities. Every decision shapes your nation's future, influencing alliances and economic growth. As a PvP experience, nations strive to achieve the highest GDP while forging strategic partnerships with AI-driven nations.
This game serves as an experiment in human-in-the-loop agentic gameplay and autonomous agent-to-agent interactions, where emergent narratives unfold through dynamic decision-making.
Both human and AI-led nations must navigate complex socio-political and economic dilemmas, shaping their national policies over time. Decisions impact a nation's political freedom, economic freedom, and civil liberties, gradually shifting its dominant ideology. As nations react to evolving internal and external pressures, they may transform from capitalist democracies to totalitarian regimes—or vice versa.
Here's a link to video demo - https://www.loom.com/share/0d0ba90cd23c4663876c3e17b4698715?sid=7a378f46-bc44-4d82-bd73-648484d98ffa
Please See the Details here - https://github.com/enderNakamoto/machina_imperium?tab=readme-ov-file#machina-imperium
Machina Imperium is a fascinating blend of modern technologies - it's a command-line interface (CLI) game that combines blockchain technology with artificial intelligence to create an engaging nation-building simulation. The game is built using TypeScript and Node.js, with the core gameplay loop managed through the CLI using prompt-sync for user interactions. The game's architecture is particularly interesting because it uses a hybrid storage system. Core game states are stored across multiple Ethereum Virtual Machine (EVM) chains including Sepolia, Base Sepolia, and Arbitrum Sepolia, which ensures persistence and verifiability of game actions. This blockchain integration handles crucial functions like game creation, player joining, decision submission, and winner determination.
What makes the game truly unique is its integration of AI agents using LangChain and OpenAI's GPT-3.5 Turbo. There are three main AI components: a Governor that handles AI nation decision-making, a Diplomat that manages alliance formations, and a Historian that generates narrative histories. These AI agents use structured output through Zod for type safety and consistent responses. Each AI nation is based on historical figures like Genghis Khan or Napoleon, with personality attributes that influence their decision-making. The game also features an extensive ideology system with 27 different political alignments that can shift based on player and AI decisions, affecting various national statistics like economic freedom, civil rights, and GDP.