Variable Question

WhatGoesUp (1).aia (883.6 KB)

Student would like variable "TakeTwo" to stay at 1 after you beat level 10. Any guidance on what the code should be is appreciated.

Student will need to use If..then Blocks. A tutorial demonstrating various ways the Blocks can be used is Programming Your App to Make Decisions .

Code needs to be written to indicate if level 10+ then TakeTwo = 1. It may also be necessary to save the information in a TinyDB to be retrieved when the app starts again if you want the app to remember that level 10 has been exceeded.

If this advice is insufficient, please post an image of the Project Blocks and share what the student has tried.

1 Like