Sense HAT egg drop game

Here’s a little game for your Raspberry Pi and Sense HAT from Dan Aldred. Dan’s a UK teacher (one of those people you wish had been YOUR teacher when you were a kid). So, as always with a Dan resource, he’s made the code available on GitHub to make made sure that kids (and adults) can build the game themselves, and learn plenty of useful stuff while they’re at it.

The Sense HAT‘s perfect for building this kind of activity; Sense HAT games using the motion sensors, the humidity sensor (we’ve had some fun coming up with Boppit clones you have to blow on) and the accelerometers. See if you can come up with something that uses the magnetometer and the temperature sensor. If you’re already using one, you’re in good company: there are two on the ISS as part of the Astro Pi programme. (Brace yourselves, ‘cos there’s no gravity.)

Thanks Dan!


solar3000 avatar

Alright! A low resolution game from 1965!
I still haven’t tried the sense HAT yet.

Richard avatar

When I read Egg drop game I thought he was going to show a picture of an egg and drop the Pi using the sensors to decide if the egg breaks or not. :)

I guess in a classroom having RPi’s being thrown around might not be advisable. ;) LoL.

Liz Upton avatar

I think that perhaps the title’s a psychological test in disguise. It just made me think of soup.

Clive avatar

It made me thing of coughing.

Jeremy avatar

I’m working on writing something up for just that, I thought the same thing! I wrote a new Engineering Principles course for this year and created a new STEAM Lab. Of course one of the things I ordered was a bakery full of Pis, Sense HATs, and even a couple of touch screens. I am working on writing up and prototyping an upgrade to the old egg lab!

Leigh avatar

Is the filter commercially available? I’ve been thinking about how to make/by one.

AndrewS avatar

Looks like it’s one of the diffusers from

Leigh avatar

Brill – thanks for the link.

Avatar Ng avatar

Awesome little gadget … I’ll make my own version of digipet :)

AndrewS avatar

Here’s a useful starting point

CurtS avatar

Missing the image chick.png

dan avatar

nice can you make a guide to how to make it?

Comments are closed