tuvokki / pleague

A league system for the company fußball
0 stars 3 forks source link

Player ELO history #40

Open iishtar opened 8 years ago

iishtar commented 8 years ago

How about a list of the elo history for each player. An entry is added each time the player finishes a game. So the model would look like

player = {
  'name' : 'foo',
  'elo' : 1501,
  'eloHistory' : [
      {
          'elo' : 1501,
          'when' : '2016-05-30 ...'
          'game_id' : '453g53aef4'
      },
      {
          'elo' : 1521,
          'when' : '2016-05-29 ...'
          'game_id' : '5982645'
      },
  ]
}

:dancers:

tuvokki commented 8 years ago

Good idea, with an accompanying graph perhaps? Maybe we should wait with this until #38 is finished. I've added a domain model of the current situation to that issue, anything that would help this issue can be added to the new model.