averbraeck / housinggame-admin

Administrator app for the Housing Game
https://housing-game.tbm.tudelft.nl
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Maybe delete start values from playerround table #30

Closed averbraeck closed 9 months ago

averbraeck commented 9 months ago

Currently, many values in the playerround table have a start value and a current value. The start value is always the current value of the previous round (except for round 0, where the start value and current value are the same).

Since the current values of the previous round are coped into the start values of the next round, the playerround table gets larger, and duplicate entries can become inconsistent. Therefore, it would be better to remove the start values and retrieve those from the playerround record of the previous round of the player.

averbraeck commented 9 months ago

Fields have been deleted and apps have been adapted to the change. Code looks more straightforward now.