Skip to content

A number guessing game server that can be played by two or more people. Each person needs to guess a number until their guess matches the secret number. The one with least number of attempts wins.

Notifications You must be signed in to change notification settings

krishshaw418/Guessing-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 Multiplayer Number Guessing Game (Backend - Rust)

A real-time multiplayer number guessing game backend built in Rust, using Axum and Tokio for high-performance async handling.
Players connect via WebSockets to compete in guessing a secret number in the fewest attempts possible.

This project was created as a learning initiative to gain hands-on experience with Rust backend development, WebSocket communication, and modern async programming.


πŸš€ Features

  • Real-Time Multiplayer β€” WebSocket server to handle multiple players simultaneously.
  • Core Game Logic β€” Competitive number guessing gameplay with session tracking.
  • Efficient State Management β€” Track player progress and results in memory for fast performance.
  • High Concurrency β€” Powered by Axum and Tokio to support multiple concurrent connections with minimal latency.
  • Clean, Modular Code β€” Follows Rust best practices for maintainability and scalability.

πŸ›  Tech Stack

  • Language: Rust πŸ¦€
  • Framework: Axum
  • Async Runtime: Tokio
  • Communication: WebSockets
  • Build Tool: Cargo

About

A number guessing game server that can be played by two or more people. Each person needs to guess a number until their guess matches the secret number. The one with least number of attempts wins.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages