Pz1c / WavingHands

Android client for web base Waving Hands (spell caster) game on games.ravenblack.net
6 stars 0 forks source link

Live matches, yep, I think it shouldn't be that hard #287

Open Prulon opened 1 year ago

Prulon commented 1 year ago

Issue: With little effort we can probably create for the first time in waving hands history a real live game, that takes 30m from start to finish. The main challenge in live games is finding someone to play with, but now that the "online" mark is on, you sometimes just see other players online, and have the opportunity to challenge them.

Task: See below how this would work. You will notice that the changes are quite small.

In addition - we would need any the app to keep polling RB every 30 (can also do 60 seconds), from the time when you went "online" until 8 minutes of inactivity. (so you can see if someone invites you). Why 8 minutes? because online indicator is 3 minutes, and the invite lasts for 5 minutes after that.

image

Pz1c commented 1 year ago

get active warlocks list not directly from ravenblack site, but from thirdparty site cash data on site + register active player that use mobile app

Prulon commented 1 year ago

I think you can do without a server.

  1. Game list online status depends only on last active time like you get from RB.
  2. Then if I click on a player you get the player info. If description includes warlocks duel then they are an app player @Pz1c
Pz1c commented 1 year ago

we should eat elephant piece by piece)) for now I fix online status in HoF and check is player use mobile app next small piece is add online status in warlock window and add window that start online match