Raspberry Pi: Create SLUG! It’s only like Snake, though with a slug

93 views Leave a comment

Recreate Snake, a favourite mobile phone diversion from a late nineties, regulating a slug*, a Raspberry Pi, a Sense HAT, and a giveaway resource!

Raspberry Pi Sense HAT Slug giveaway resource

*A practical slug. Not a genuine slug. Please leave a genuine slugs out in nature.

Snake SLUG!

Move aside, Angry Birds! On your bike, Pokémon Go! When it comes to a cream of a stand of mobile phone games, Snake binds a tip spot.

Snake Nokia Game

I could while divided a hours…

You might still have an aged Nokia 3310 mislaid in a inlet of a drawer somewhere — a drawer that won’t open all a approach since something inside is tangled during an peculiar angle. So it will be distant easier to squeeze your Pi and Sense HAT, or use a giveaway Sense HAT emulator (online or on Raspbian), and formula Snake SLUG yourself. In doing so, we can deliver a smaller residents of your domicile to a best reptile-focused diversion ever made…now with combined mollusc.

The resource

To try out a diversion for yourself, conduct to a apparatus page, where you’ll find a online Sense HAT emulator embedded and prepared to roll.

Raspberry Pi Sense HAT Slug giveaway resource

It’ll demeanour only like this, and we can use your computer’s arrow keys to approach your knock toward her juicy treats.

From there, you’ll be taken on a step-by-step tour from 0 to SLUG excellence while coding your possess versionof a diversion in Python. On a way, you’ll learn to work with two-dimensional lists and to use a Sense HAT’s pixel arrangement and joystick input. And by completing a resource, you’ll enhance your bargain of requesting condensation and decay to solve some-more formidable problems, in line with a Digital Making Curriculum.

The Sense HAT

The Raspberry Pi Sense HAT was creatively designed and done as partial of a Astro Pi goal in Dec 2015. With an 8×8 RGB LED matrix, a joystick, and a engorgement of on-board sensors including an accelerometer, gyroscope, and magnetometer, it’s a good appendage for your digital creation toolkit, and glorious for projects involving information collection and evaluation.

You can find some-more of a giveaway Sense HAT tutorials here, including for creation Flappy Bird Astronaut, a marble maze, and Pong.

Source: Raspberry Pi blog

Comment this news or article