Skip to content

Add scoring schemes and migration to new system

Nils G requested to merge fix_22 into master

This MR will add the possibility to have different separate scoring schemes for different gamejams.

The main purpose for this is to implement a new set of scoring questions in a backwards compatible manner.

To accomplish this, we introduce a new table QuestionScheme and cross-reference every Question and every GameJam with a scheme. Then all we have to do is to present the user with all the questions, that have the same scheme_id as the GameJam that is currently being voted on.

This system has the following advantages:

  • Old votes are kept untouched
  • Different scoring schemes for different Gamejams are possible (even at the same time if need be)
  • Adding a new question does not invalidate the scoring schemes or historic votes

The actual new questions that are going to be used are discussed in #22 (closed)

Fixes #22 (closed)

Edited by Nils G

Merge request reports