All projects
Telegram bots2023Games / Entertainment

MafiaBot

Telegram bot that automatically hosts the multiplayer Mafia game: roles, voting and game flow fully automated.

View live
MafiaBot
24/7automated game moderation
concurrent game sessions
24/7automatic moderation
0manual management

The challenge

Playing Mafia in groups required a constant moderator and manual management.

Parallel games in multiple groups had to run flawlessly at the same time, with states and win conditions managed correctly.

The solution

Built a bot with registration, role assignment, voting and automatic day/night cycles.

We implemented player registration, role assignment, a voting system, game state management, moderation tools and scalable game logic designed for concurrent sessions.

What we delivered

  • Role assignment and game flow
  • Voting system
  • Moderation tools
  • Concurrent session logic

Technologies

PythonTelegram Bot APIPostgreSQL
Timeline2 months
Year2023
IndustryGames / Entertainment
The outcome

Games run fully automatically without a moderator — the bot serves many groups at once.

Shall we discuss your project?

Tell us your idea — within 24 hours we'll come back with a technical solution and a preliminary estimate. The consultation is free.