Split Counter

Objective:

Count how many split tracks the train will enter in a 5 meter run and let Scratchy the Cat say the result.

Sample Solution:

When you start the program, it counts the splits the train enters and keeps track of the distance. The moment the target distance of 5 meters is reached, the train stops and Scratchy the Cat tells you the split count.