It's Sean!

UK freelance journalist, author
and writer Sean McManus

Printed from www.sean.co.uk. © Sean McManus.

NEW: Sign up for my newsletter!

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 at your favourite shop here

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

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.

You can find the codes for the different Minecraft materials here.

Bonus content

Feedback and updates

I'll post updates on the book here. You can also follow me on Twitter.

Books by Sean McManus

Scratch Programming in Easy Steps

Scratch Programming in Easy Steps

Raspberry Pi For Dummies

Raspberry Pi For Dummies

Learn to program with the Scratch programming language, widely used in schools and colleges.

Set up your Pi, master Linux, learn Scratch and Python, and create your own electronics projects.

Coder Academy

Coder Academy

Cool Scratch Projects in Easy Steps

Cool Scratch Projects in Easy Steps

Learn to make games and other programs in Scratch 2.0, and make a web page in HTML, with this highly interactive book for 7-10 year olds.

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

More books

Recommended articles

Stylised coloured photo of a synth

Discover my music and home recording articles

Interested in starting home recording? Follow me as I start recording, using instruments such as the Novation MiniNova and Korg Kaossilator, and share my synth and sample-based music online.

Scratch cat and rainbow circle

10-block demos for Scratch programming

Lots of people of all ages are learning to program with Scratch. Discover some useful tricks and techniques in my 10-block Scratch demos, including special effects you can drop into your games.

Paper Raspberry Pi case

Download free book chapters and more!

Download a free case for your Raspberry Pi, and free chapters from my books about the Raspberry Pi, Scratch, web design and more!

©Sean McManus. www.sean.co.uk.