Skip to content

Medmoussaoui/HandGameBackendPublic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ•น๏ธ HandGame Backend

This is the backend for HandGame Arena, a real-time multiplayer Rock-Paper-Scissors elimination game designed for the web and Reddit Devvit (experimental). It handles player matchmaking, room creation, gameplay logic, and real-time communication via WebSockets.

๐Ÿšจ Note: Reddit does not currently support WebSockets, so full gameplay is only available outside of Reddit for now.


๐Ÿš€ Features

  • ๐Ÿ”„ Real-Time Gameplay via WebSocket
  • ๐ŸŽฎ Room Management โ€“ Public and private rooms
  • ๐Ÿ’ฅ Elimination Rounds โ€“ Players get eliminated each round
  • ๐Ÿง  Auto-Move System โ€“ Idle players get random moves
  • ๐Ÿ—ƒ๏ธ MongoDB Integration โ€“ For player, room, and game state storage

๐Ÿ› ๏ธ Tech Stack

  • Backend: Node.js with TypeScript
  • WebSockets: socket.io
  • Database: MongoDB with Mongoose
  • Hosting: Google Cloud Run (or any Node-compatible host)

๐Ÿ“Œ Current Limitations

  • โŒ No WebSocket Support on Reddit
    The game is fully functional, but cannot be played directly inside Reddit yet due to WebSocket restrictions.

๐ŸŽฎ Frontend Repository:
๐Ÿ‘‰ RedditHandGame (React Frontend)


๐Ÿ“„ License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published