Using FizzBuzz to explain guards, internal events, etc.July 26, 2018 at 10:10pm
I just completed (and linked up) the second FizzBuzz adventure.
The main difference from "part 1" is that it splits the problem itself up into four separate problems (fizz, buzz, fizzbuzz, digit) and solves each one on their own, using internal events to coordinate between them.
If you want to get an understanding of how parallel states can be misused, and learn how automatic transitions, and in guards can work together, then give it a read. It's full of illustrations and 5 codepens showing the solution as it unfolds.
July 27, 2018 at 9:12am
July 30, 2018 at 7:27pm