-
-
Start screen with options for voice and classic game modes
-
Home Menu with Role Selection and Voice Mode Toggle
-
Policy Deck Interface Showing Liberal and Fascist Cards
-
Character Selection Screen with Role Summary
-
Voting Phase Interface for Enacting or Rejecting Governments
-
Chancellor Nomination with AI Discussion Panel
-
Policy board showing enacted laws and remaining policy cards
-
Game setup screen for selecting player count and difficulty
Inspiration
Classic social deduction games like Secret Hitler, Mafia, and Avalon thrive on human interaction, hidden roles, and high-stakes conversations. However, in today’s remote and fast-paced world, it’s increasingly difficult to coordinate a live group of players. We were inspired to reimagine this genre using recent advances in conversational AI — allowing a single player to engage with AI agents who can lie, scheme, remember, and debate like real people.
What it does
SECRET HITLER – AI Edition is a solo adaptation of the popular board game, powered by GPT-4o agents. One human player competes against 4 to 8 AI-controlled opponents in a game of deception, strategy, and deduction. The AI characters participate in live chat during discussion rounds, vote strategically, remember past actions, and adapt their behavior based on suspicions and policies enacted.
The game includes: Real-time AI chat with memory and personalities Full policy deck, voting, and role mechanics Dynamic screen transitions (nomination, voting, legislation, special powers) Endgame summaries with role reveals and play history Optional voice integration for immersive gameplay
How we built it
We built the game using Bolt.new, leveraging its dynamic screen logic and live chat integration. The AI agents are powered by OpenAI's GPT-4o, with memory and behavioral logic embedded into each character’s decision-making. For voice dialogue, we integrated ElevenLabs to give each AI a distinct vocal personality.
The game logic replicates the original Secret Hitler mechanics with role distribution, vote tracking, legislative flow, and fascist power unlocks. We used conditional rendering for key phases and state management to track player roles, votes, policies, and AI memory across each game session.
Challenges we ran into
Designing believable AI agents capable of both strategic deception and natural conversation Balancing AI behavior across different roles and personalities while keeping gameplay fair Ensuring live chat felt dynamic and personalized, without being repetitive or robotic Mapping the full game logic into a linear solo-player structure without losing the social dynamics of the original Managing game state transitions seamlessly within Bolt.new’s framework
Accomplishments that we're proud of
Fully replicating the Secret Hitler gameplay in a solo format Creating GPT-powered agents with memory, deception logic, and personality variation Designing a live discussion system that simulates authentic political debates and accusations Integrating voice dialogue for AI characters, adding immersion and emotional tone Making a beloved multiplayer experience accessible to solo players at any time
What we learned
How to design believable AI personalities that react strategically and emotionally How to translate multiplayer, turn-based game logic into a solo experience Techniques for integrating conversational AI, memory, and UI in a cohesive game flow The power of AI to simulate nuanced human behaviors like bluffing, trust-building, and manipulation
What's next for SECRET HITLER - AI Edition
Release a public alpha version with UI polish and optional difficulty settings Add cross-game AI memory so bots “remember” the player across sessions Implement additional social deduction modes (Resistance, Avalon, etc.) Expand voice variation and emotion detection in AI responses Build a leaderboard and match history system for repeat players Explore multiplayer co-op vs. AI or AI-assisted hidden roles for larger groups
Built With
- bolt.new
- browser
- dall?e
- elevenlabs-voice-api
- figma
- javascript
- json
- local
- markdown
- openai-gpt-4o
- state-management
- typescript
Log in or sign up for Devpost to join the conversation.