Page MenuHomeWildfire Games

Lobby state column showing fight teams or state
Needs ReviewPublic

Authored by ffffffff on Aug 31 2017, 4:52 PM.

Details

Reviewers
elexis
Summary

WIP - There is currently some algorithm situations broken. Need to fix first.

showing fight teams in a game state column like 1v1, 1v2, 3v2 according to live data of defeated and undefeated players
and when players got defeated in addition show starting teams so like actual fight teams (starting teams):
3v2 (3v3), so one got defeated f.e.
if all players in game has no team as stated with -1, show state as open (maybe it should passed the teamsLocked property from game to show "diplomacy" game state)
if one team left in a game or only one player left in no team (-1) game state is show as done.
on game init state show init as game state.

this column should be hidden and come visible if space (we need D228)

Test Plan

login with two accounts to one having lobby gamelist game state column watch
the other to make appropriate game states in gamesetup with cheats enabled to set perspective to other players and resign them.
different team configuration in gamesetup

  1. one game with none teams
  2. one game with several teams and some none
  3. one game with normal teams configuration

then make players resign from different teams by going into dev overlay (alt+d) and enable switch perspective and go into player perspective and resign them
then watch with the other account in the lobby if game state matchs.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

ffffffff created this revision.Aug 31 2017, 4:52 PM
ffffffff updated this revision to Diff 3426.Aug 31 2017, 5:12 PM
ffffffff edited the summary of this revision. (Show Details)Aug 31 2017, 5:14 PM
ffffffff edited the summary of this revision. (Show Details)
ffffffff edited the summary of this revision. (Show Details)Aug 31 2017, 5:17 PM
ffffffff updated this revision to Diff 3434.Aug 31 2017, 6:10 PM

make it state sortable.

ther is some bug when playing with bots... need to fix that. it shows already fight as done if the bots are not dead.. ,((((

ffffffff edited the summary of this revision. (Show Details)Nov 17 2017, 5:22 AM