EasyManuals Logo

SunFounder ESP32 User Manual

Default Icon
771 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #645 background imageLoading...
Page #645 background image
SunFounder ESP32 Starter Kit
Now all the scripting is done and you can click on the green flag to run the script.
4.22 2.19 GAME - Protect Your Heart
In this project, let’s make a game that tests reaction speed.
In the stage, there is a heart protected in a rectangular box, and there are arrows flying towards this heart from any
position on the stage. The color of the arrow will alternate between black and white at random and the arrow will fly
faster and faster.
If the color of the rectangular box and the arrow color are the same, the arrow is blocked outside and level is added 1;
if the color of both is not the same, the arrow will shoot through the heart and the game is over.
4.22. 2.19 GAME - Protect Your Heart 639

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the SunFounder ESP32 and is the answer not in the manual?

SunFounder ESP32 Specifications

General IconGeneral
BrandSunFounder
ModelESP32
CategoryController
LanguageEnglish