Inspiration
Most university students use Telegram daily, but many games and apps still require separate sign-ups. I wanted to build a simple, competitive game that removes friction by using an authentication method students already trust and use.
What it does
This project is a real-time multiplayer Tic Tac Toe web game where players log in using their Telegram account, invite friends via a unique link, play live matches, and compete on a public leaderboard.
How I built it
The game uses WebSockets for real-time communication between players. Telegram Login is implemented with server-side verification to securely authenticate users. Game state, matchmaking, and leaderboard updates are handled on the backend, while the frontend focuses on smooth gameplay and UI responsiveness.
Challenges I faced
Some key challenges included synchronizing game state between players in real time, handling disconnects, and implementing secure Telegram authentication without exposing sensitive data. Solving these improved my understanding of real-time systems and backend security.
What I learned
Through this project, I learned how to build real-time multiplayer applications, properly verify third-party authentication, manage shared state, and deploy a full-stack application for public use.
Accomplishments that we're proud of
We successfully built and deployed a real-time multiplayer game that supports live matches between players with minimal latency. Implementing Telegram authentication with proper server-side verification, along with invite-based matchmaking and a live leaderboard, was a major milestone. Completing this project as a university student and making it publicly accessible is something we’re especially proud of.
What we learned
Through this project, we gained hands-on experience with real-time communication using WebSockets, secure third-party authentication, and managing shared game state across multiple users. We also learned how to handle edge cases such as player disconnects, synchronization issues, and deploying a full-stack application for real users.
What's next for Real-Time Tic Tac Toe
Next, we plan to improve matchmaking, add player statistics and match history, and enhance the leaderboard with ranking logic. We also aim to refine the UI/UX, improve performance under higher concurrency, and explore additional game modes to make the experience more engaging.
Built With
- css
- express.js
- html
- javascript
- node.js
- socket.io
- telegram-login-api