Author Topic: Steps to get a "quick" game going  (Read 2510 times)

iByte

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Steps to get a "quick" game going
« on: April 16, 2013, 09:06:28 PM »
   Hi I have been thinking about the basic steps needed to get a "quick play" type of game going.
   
   When the app starts

   1. Search Local Lan first for players running the same game.
   2. If no local players found then start local server or prompt to connect to pre-configured remote server.
   3. Pick or reconfirm your avatar and color.
   4. Bring up channel lobby.
   5. If connecting to remote server then games presented in order of affinity groups.
      a. Optionally put you in a group with a similar ping time response to make it as fair as possible.
      b. Optionally put you in a group with similar stats (points spread) to your own if available.
      c. Play with friends list.
      d. Pick any game that’s about to start.
   6. Games start with count down of 2 minutes.
   7. Extra channels spawned more frequently if games start to fill up past thresholds.
   8. When timer expires
      a. If no players then timer resets and channel stays open.
      b. If only one player joins and the timer will expire then the player is moved to another channel with at least one other player else timer just resets and channel stays open.
      c. If more 2 or more players available then game starts when timer expires.
   9. I want to distribute player starting positions equally so the machine that is hosting will need to re-adjust the starting positions of any of the remaining players up until each round actually starts.

I have looked at the provided examples and watched both videos. Does anyone have any further suggestions or guidance on how to implement the above functionality?

Thanks

iByte


iByte

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Re: Steps to get a "quick" game going
« Reply #1 on: April 16, 2013, 10:42:48 PM »
As an add on question are there any graceful ways to take over serving a game from a server that is suddenly turned off?
Thinking a group of handhelds on a wifi network and the current device that started a server instance is put to sleep or turned off.

iByte