Learn to code a game to guess a number from your Pico.
Learn to create a random number generator and learn to make comparisons after receiving an input. This project will teach the the basics of computational thinking and coding logic.
Have an different version? Look for more information on the Support Page.
Troubleshooting Tips
Are the number comparisons incorrect? Is your program saying 2 is greater than 5?
Ensure the directionality of your greater than (>) or lesser than (<) signs are arranged correctly.
What does Pico Guess indicate?
Pico Guess is a variable that stores a randomly generated number as coded for in the first line. When you click START, a new number is generated and stored in the variable.
Our customer support specialists are on hand to ensure your implementation of Piper runs seamlessly. View Support Docs or Contact Support
EXPANDED RESOURCES
Term Glossary
Circuit A conductive path for the flow of current or electricity.
Power The current or flow of electric charge and voltage.
Microcontroller An integrated circuit containing a microprocessor with memory and associated circuits.
Variables A value that can change depending on conditions or information passed to the program. A storage location with a symbolic name used to keep track of a value that can change while a program is running (similar concept to using X and Y in an algebraic equation). Variables are not only numbers; they can also hold text, including whole sentences (strings) or logical values (true or false).
Input Device A hardware device that sends data to a computer, allowing interaction and control.
Output Device A piece of hardware that converts information into a form humans can sense and understand.