Home > Books > Raspberry Pi Projects

Raspberry Pi Projects

Book cover: Raspberry Pi Projects Raspberry Pi Projects includes a number of hands-on projects to help you get the most from your Raspberry Pi. The book includes projects to create classic arcade games using Python and Pygame, shows how to create an information centre that connects to Twitter and Facebook, and demonstrates how to use the Raspberry Pi's general purpose input/output (GPIO) pins to connect up your own hardware projects to the Raspberry Pi.

The book is written by Andrew Robinson and Mike Cook, who was my co-author on Raspberry Pi For Dummies. I have contributed one chapter to the book, showing how you can use Python to write programs that build things in Minecraft Pi Edition.

My Python project creates a randomly generated maze that you can walk around in the Minecraft world. It uses an algorithm for creating 'perfect' mazes, which have no areas locked off that you can't reach.

Buy the book

Watch the video of my project

The book in brief

Book Title Raspberry Pi Projects
Book AuthorsAndrew Robinson, Mike Cook, Jonathan Evans, Sean McManus
PublisherJohn Wiley & Sons
ISBN978-1118555439
Pages 468

FREE Download: Chapter 1 of Raspberry Pi Projects

Free PDF Sampler

Screenshots of the Minecraft Python Maze Maker project

the maze being built, as seen from above

You can watch the maze being built from above

the view inside the maze of bookshelves

Trapped in the library: You can configure the maze to build walls using your chosen blocks, as this maze of bookshelves shows.


Download the code

Download the code here (rpi-mazemaker.zip). You can customise the code where indicated to change the size, location and style of your maze. For full details of how the program works, please see the book.

WARNING: This program bulldozes part of the Minecraft world before construction begins, including an area surrounding the maze, and the area above it. I recommend you create a new Minecraft world to build your maze in, and proceed with caution before using the maze maker near any structures or world features you want to keep.


Bonus content

Credits

© Sean McManus. All rights reserved.

Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!

Discover my latest books

Coding Compendium

Coding Compendium

A free 100-page ebook collecting my projects and tutorials for Raspberry Pi, micro:bit, Scratch and Python. Simply join my newsletter to download it.

Web Design in Easy Steps

Web Design IES

Web Design in Easy Steps, now in its 7th Edition, shows you how to make effective websites that work on any device.

100 Top Tips: Microsoft Excel

100 Top Tips: Microsoft Excel

Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.

Scratch Programming in Easy Steps

Scratch Programming IES

This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.

Mission Python book

Mission Python

Code a space adventure game in this Python programming book published by No Starch Press.

Cool Scratch Projects in Easy Steps book

Cool Scratch Projects in Easy Steps

Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!

Walking astronaut from Mission Python book Top | Search | Help | Privacy | Access Keys | Contact me
Home | Newsletter | Blog | Copywriting Services | Books | Free book chapters | Articles | Music | Photos | Games | Shop | About