Parsons problem from Craig'n'Dave

Darts - play game, main program

Drag the code statements putting them into the correct order in the solution area. Select Get feedback when you have finished. If the solution area turns green, it's correct.
Remember to use correct indenting after def, if, match, case, while and for statements.

Write the code for the shot in the following order: dart is between 0 and 20, bullseye or 25, double, treble.