Inspiration
We wanted to create a fun, competitive game that people could enjoy with friends worldwide, whether on Telegram or the web. Inspired by the simple yet strategic game of Scissors Paper Stone, we added an exciting twist: a "minus one" mechanic to challenge players to think ahead and stay engaged.
What it does
SquidGame is an online multiplayer version of Scissors Paper Stone Minus One. Players join a virtual lobby with others from their Telegram chat or through the web, where they can battle it out in real time. Each round, players select their move (Scissors, Paper, or Stone), and the "minus one" mechanic spices things up by making certain moves less powerful depending on the game state. It’s a mix of strategy, luck, and fast decision-making!
How we built it
- Frontend: The web interface is hosted on Vercel and built with React.js.
- Backend: Our backend is hosted on render, where we use Node.js and socket.io for real-time communication between players.
- Telegram Integration: We used the Telegram Bot API to create a seamless experience for players to join and play directly from their chat instances.
- Game Logic: The core game logic handles move comparisons, minus-one rules, and winner determination, ensuring fairness and consistency across platforms.
- Real-time synchronization: Ensuring smooth gameplay for all players, regardless of location or platform, required overcoming challenges with latency and socket management.
- Cross-platform integration: Combining Telegram-based gameplay with a web interface while maintaining consistency in player experience.
- Game state management: Designing a system to handle multiple lobbies concurrently, each tied to a specific Telegram chat instance, without performance bottlenecks.
Accomplishments that we're proud of
Successfully integrating the "minus one" mechanic to create a fresh and unique take on a classic game. Building a robust real-time multiplayer system that works seamlessly across Telegram and the web. Delivering an engaging experience with minimal latency, even during peak loads. Providing a fun way for people worldwide to connect and compete with friends.
What we learned
How to manage real-time communication effectively using socket.io. Integrating third-party APIs, like Telegram Bot API, into a custom game experience. Enhancing user experience by maintaining a consistent interface across different platforms.
What's next for SquidGame
- Ranked mode: Introduce a global leaderboard to track top players and add competitive depth.
- Customizable rules: Allow players to tweak the "minus one" mechanic or set their own rules for private games.
- Expanding platforms: Extend the game to other chat platforms, such as WhatsApp or Discord.
- Advanced analytics: Provide players with detailed stats, like win rate and performance trends, to help improve their strategies.
- New game modes: Add variations like team battles or tournaments to keep gameplay fresh and exciting.
Log in or sign up for Devpost to join the conversation.