UEWBot / dipvis

Django-based visualiser for tournaments for the boardgame Diplomacy
GNU General Public License v3.0
7 stars 5 forks source link

Add player background from series #244

Open UEWBot opened 2 years ago

UEWBot commented 2 years ago

Now that we can identify series of tournaments, it would be nice to have series-specific background for players. For example "X won this tournament 3 years ago" or "Y has finished as high as 3rd at this tournament".

UEWBot commented 2 years ago

This would be an addition to Player._tourney_rankings(), with a new MASK value or values to include background from the series.

UEWBot commented 2 years ago

Possible background items:

UEWBot commented 1 year ago

This isn't quite as straight-forward as I'd hoped, because Player._tourney_rankings() looks at PlayerTournamentRankings but to do this we need to go through Series. The first patch does that independent of _tourney_rankings(). Probably need to break that out into a separate method somewhere and expand it to add the other background items noted above.