Word Chain Bot

Technologies: Python, PostgreSQL, Stripe, AWS

Players
850k
Games Played
2.6M

This Telegram bot hosts the game Word Chain in group chats. Given an initial word, players take turns coming up with words that start with the last letter of the previous word. (e.g. bird → dog → goose)

This bot uses asynchronous I/O in Python to support 40+ concurrent game instances.

I implemented 9 different game modes, and also a virtual player which has a 83% win rate in its 95k+ games.

Classic mode

Classic mode

Some letters are banned in this mode

Another mode where some letters are banned

The bot also generates visualizations of game statistics using matplotlib and SQL queries:

Various statistics from June 4 - 17, 2022

Various statistics from June 4-17, 2022