Get pied with this triple Pi(e) game
This innovative game, made by just_another_person, incorporates three different forms of pi(e): the mathematical constant, a whipped cream pie, and Raspberry Pi Pico. The aim is for the player to enter up to 15 digits of pi in the correct order into the machine. If they successfully enter them, they will be celebrated with a colourful LED light show. However, if tragedy doth strike, and the user enters a digit incorrectly, they will be greeted with a pie in the face! Who wouldn’t want to add a dash of terror to their education?
Hardware
- Raspberry Pi Pico receives the player’s input and sends signals to the motor and LEDs
- Push buttons connected directly to the Pico allow the player to enter each digit
- LEDs: one LED lights up each time a player enters a correct digit, and they all light up to produce a colourful sequence for winning players
- Servo motor so the device can pie losing players (modelled by a balloon in the build video) in the face
Behind the scenes
Every time the player presses a button, the program checks whether it is indeed the next digit of pi. If it is, the digit count is increased by one, and the next light in the sequence flashes. If not, the servo deals the fateful blow!

The maker has open-sourced the code for the game, and has also published a project page detailing how it was put together.
Pie Face! nostalgia
I fancy trying this game – although, with my current knowledge of the digits of pi, I would spend most of the time with my eyes shut. Maybe that means I can learn to use a keypad without looking at the same time!
This reminds me of the glorious game Pie Face!, which caused me to spend the entirety of each round flinching, expecting to receive a faceful of squirty cream. Unfortunately, my friend once conveniently forgot to apply the cream. I look forward to introducing her to Triple Pi(e).
The post Get pied with this triple Pi(e) game appeared first on Raspberry Pi.
from News - Raspberry Pi https://ift.tt/HsvUFNl
Labels: IFTTT, News - Raspberry Pi

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home