September 29, 2014

Play "Snakes and Ladders" with Raspberry Pi

Using technology some interesting versions of classic games can be recreated, and one example of this is "Snakes and Ladders". A 21st-century version has been demosntrated by Les Pounder who named his version "Pythons and Resistors".

The game board has reed switches mounted under the heads of the pythons, and at the base of the resistor "ladders". These are connected to the Raspberry Pi's GPIO and activated when a player's piece is placed on top (as they each contain a magnet). With this the RPi can then detect if a player has landed on a point where they travel up or down the board and also play a matching sound effect. Finally the Pi also offers an electronic die through LEDs arranged in an appropriate pattern.

Furthemore Les has documented the project in a simple manner, making it suitable for all beginners, so visit his project page to get started. And for more, we're on facebookGoogle+, and twitter - so follow us for news and product updates as well.

If you need to connect external circuitry to your Raspberry Pi such as the game project above, consider our PiBreak board. It provides labelled breakout pins for all GPIOs, a large prototyping area with solder pads, and power rails for easy power connection:

Furthermore the PiBreak also includes mounting hardware to firmly attach it to your Raspberry Pi using a nut, bolt, and spacer - and is compatible with all revisions of both model A and B Raspberry Pi computers. For more information about our PiBreak board, our Getting Started guide, and to order - visit the product page.

Leave a comment

Comments have to be approved before showing up.