SunFounder ESP32 Starter Kit
• Now write a script to switch these backgdrops, when the green flag is clicked, switch to Woods backgdrop; if the
dragon’s life point is less than 1 , then the game succeeds and switch the backdrop to Blue Sky; if the life value
point of the Wand is less than 1, then switch to Night backdrop and the game fails.
4.23. 2.20 GAME - Kill Dragon 677