Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snake game #2

Closed
wants to merge 6 commits into from
Closed

Add snake game #2

wants to merge 6 commits into from

Conversation

haykam821
Copy link
Member

@haykam821 haykam821 commented Mar 15, 2023

This pull request adds a backend for a simple snake game. Closes #1.

Some considerations:

  • Resolve segment collisions in a way that doesn't involve join priority
  • Limit one snake per IP (or similar)
  • Require authentication to join, and lock usernames
  • Allow hosting multiple rooms
  • Allow querying room information without joining the game
  • Allow spectating a room
  • Improve spawn positions (no spawning on edge)
  • Prevent new snakes from killing snakes via their spawn position
  • Remove snakes immediately when they disconnect

A client for this snake game backend was implemented in Taipan.

@Megadynamite
Copy link
Contributor

This PR has been open and unmodified for three years, feel free to reopen when it is in active development again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add multiplayer snake game framework
2 participants