Interactive Telegram Bot
An interactive Telegram bot for intuition training has been implemented. The project is a full-fledged mini-game with various difficulty levels, visual accompaniment, and deep personal user statistics.
Key functionality:
Flexible game logic: 4 game modes (Color, Suit, Denomination, Full card) with different probabilities of winning.
Complex interfaces: Pagination (page-by-page view) for card selection and two-step data input scenarios (FSM) for complex modes have been implemented.
Detailed analytics: A statistics collection system based on SQLite. Generation of reports in table format (HTML layout) broken down by time periods (Today, Week, Month, Year) and by game modes.
Visualization: Working with media files (sending images of cards according to the result).
Security and UX: Protection against accidental data deletion, "fair random" (using cryptographically secure modules), clearing chat history for user convenience.
Technical stack:
Language: Python 3.11
Framework: aiogram 3.x (asynchronous architecture)
Database: SQLite (SQL queries, data aggregation)
Other: FSM (Finite State Machine), logging, secrets module.
Key functionality:
Flexible game logic: 4 game modes (Color, Suit, Denomination, Full card) with different probabilities of winning.
Complex interfaces: Pagination (page-by-page view) for card selection and two-step data input scenarios (FSM) for complex modes have been implemented.
Detailed analytics: A statistics collection system based on SQLite. Generation of reports in table format (HTML layout) broken down by time periods (Today, Week, Month, Year) and by game modes.
Visualization: Working with media files (sending images of cards according to the result).
Security and UX: Protection against accidental data deletion, "fair random" (using cryptographically secure modules), clearing chat history for user convenience.
Technical stack:
Language: Python 3.11
Framework: aiogram 3.x (asynchronous architecture)
Database: SQLite (SQL queries, data aggregation)
Other: FSM (Finite State Machine), logging, secrets module.