A Web3 Werewolf game bot powered by Flow's VRF for true randomness in role assignment and OpenAI for immersive storytelling. Winners get FLOW tokens as rewards! Built with MessageKit for XMTP group chats. #GameFi #Web3Gaming
Prize Pool
Web3 Werewolf Game Bot A decentralized social game bot built for XMTP group chats that combines classic Werewolf gameplay with Web3 elements. The bot leverages Flow's VRF for truly random role assignments, OpenAI for immersive storytelling, and rewards winners with FLOW tokens. Core Features Decentralized Gameplay Runs on XMTP messaging protocol for secure, decentralized communication Uses Flow blockchain for randomness and token rewards Supports 5-8 players per game Secure Role Assignment Leverages Flow's Verifiable Random Function (VRF) for provably fair role distribution Prevents manipulation through commit-reveal scheme Assigns approximately 1/3 of players as werewolves AI-Powered Narration OpenAI integration creates dynamic, atmospheric storytelling Generates unique narratives for: Game introductions Day/night phase transitions Player eliminations Victory announcements Token Rewards Winners receive FLOW tokens automatically Uses MessageKit's transaction handling for secure payments Rewards distributed through bot's wallet User Experience Simple command interface (/newgame, /join, /vote, etc.) Nickname system for player identification Real-time game state updates Built-in help system Technical Stack MessageKit for XMTP integration Flow blockchain for VRF and token transactions OpenAI API for narrative generation TypeScript/Node.js backend Web3.js for blockchain interactions The project combines social gaming with blockchain technology to create an engaging, fair, and rewarding experience that demonstrates the potential of Web3 gaming infrastructure.
Here's how the Web3 Werewolf Game Bot was built in 10 key technical points: