Add lives in quiz app

Taifun's explanation showing how to 'add lives' or show lives left is a puzzle he provided for developers to figure out. I came up with my own solution using some of his advice. :slight_smile:

I use a Notifier to display the number of 'lives' left during play and at the end of the game (this is the display shown at the end of the quiz):


.
How to reproduce it: Start with Taifun's tutorial original code and add some of the Blocks from his Question#1 selected Procedure. Ignore the actual selected Procedure (but use some of the Blocks in it). Add a Notifier to the Designer. Carefully add and remove some blocks according to this model and create something similar to a 'lives button' (whatever that is).

.

Good luck. Perhaps you already solved Taifun's puzzle. If not, start with Taifun's unmodified example and make the suggested modification and get it to work. Then, and only then add the 'lives' to your modified quiz.

1 Like