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 and music

Artificial: album cover shows a steampunk heart

Artificial

What happens beyond AI when the machines become emotional? Discover my new album of electronic music here.

Mission Python book

Mission Python

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

Coder Academy book

Coder Academy

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

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 | Blog | Copywriting Services | Books | Free book chapters | Articles | Music | Photos | Games | Shop | About