Telegram bot
Telegram bot for online and offline quests
An Aiogram Telegram bot for city and classic quests. Online, the player walks the city, sends location and unlocks a place after reaching it. Offline, the bot runs a puzzle scenario with sequential tasks.

I built a Telegram bot for two quest types: city quests with geolocation and classic quests with puzzles and tasks.
In the online quest the player gets a route or the next point and has to reach it in the city. On arrival they send their location in Telegram. The bot checks if they are near the point and, if yes, opens the next stage: a story about the place, extra info and the next stop.
That turns a walk into an interactive tour where content unlocks only after visiting the spots.
In the offline quest the bot is the game host: it gives puzzles, tasks and hints, checks answers and moves the player forward only after a correct solution.
The project includes:
two independent flows — online and offline;
Telegram geolocation;
checking the user is near given coordinates;
step-by-step route progress;
info about visited places;
puzzle and text-task system;
answer checking;
stage transitions;
inline buttons and Telegram flows;
per-user progress state.
Stack: Python, Aiogram, Telegram Bot API, coordinates and geolocation.
Result:
An interactive Telegram bot for city tours, tourist routes, team games and classic quests — without a separate app.



