liam-m / flippd

A lightweight VLE for the "flipped classroom"
1 stars 0 forks source link

Game feat/progress #45

Closed Beornwulf closed 8 years ago

liam-m commented 8 years ago

@Beornwulf review:

Beornwulf commented 8 years ago

to answer in order:

liam-m commented 8 years ago
liam-m commented 8 years ago

In terms of the increment_quizzes function, I think it could be refactored to get all quiz badges, loop through them and compare self['quizzes_completed'] against badge.required_value - reduces the duplication and probably complexity, duplication, etc.