kasperpeulen / euclidthegame

A geometry game based on Euclid's Elements.
euclidthegame.org
MIT License
447 stars 74 forks source link

Don't store scores post-win #376

Open mbinette91 opened 5 years ago

mbinette91 commented 5 years ago

Once you have already completed a level, we keep processing moves and can overwrite success messages and score counts (for medals).

e.g. Win Level5 in 4 moves with only primitives, set Level5p = 3, accidentaly hit a non-primitive tool on your way out and you'd end up with a Silver medal (4) too.

Also reformatted LevelCompleted because it was hard to parse.

Fixes #324

kasperpeulen commented 5 years ago

@mbinette91 thanks for the contributions, can you tell me which PR's you think I should merge? should I merge all of them? shall I review them or are they ready to go?