The tribble is a pretty simple concept in that it only has two functions, which are crying when ignored, or purring when touched.
I had a fun time w/ the cap sensor in this board. Its nice to have that just built into something, vs using breakouts or fiddling w/ little pins. Also by just getting its raw numbers and playing with a top and bottom range, I was able to detect someone touching the tribble through the fun fur, so I was able to hide the conductive fabric inside the fuzzball, vs having to place it on or through the fur.
Its currently on a minute long timer (because game jam timeline), but ideally it picks a random timer interval to start crying It has two vibration patterns: constant when crying, and a 400ms pulse when purring. The Circuit Playground chats to a small python server through the serial port, that handles the sound FX. Which were combed off of Freesound. If I get an express later on, I'd like to translate it to circuit python.
Future work: stronger motor so it bops around when crying, better sound playback. Clean up some code.
I have but one thing to say: Pfrrrrrrrr.. Pfffrrrrrrrrr...Frrrrrrrr.