It's Sean!

UK freelance journalist, author
and writer Sean McManus

Printed from www.sean.co.uk. © Sean McManus.
You are here: Home > Blog Home > Sean McManus's Writing blog: Mission Python is out now!

Sean's Tech and Writing Blog

Mission Python is out now!

16 October 2018


I am delighted to say that my latest book Mission Python has just been published. The book shows readers how to use Python and the Pygame Zero library to build a space adventure game. The game runs on a Raspberry Pi or Windows PC, using free software. We've provided all the images and sounds you need as a downloadable file.

Here's a short video showing the game in action (dramatic music added for the video):

There are several ways to enjoy the book. Some readers will want to play and solve the game first to avoid spoilers, and then use the book to understand how it works. (I have minimised spoilers where possible, but readers might notice some clues when they study the code). Other people might want to build the game, chapter by chapter, either by typing in the code or by using my example listings. At the end of the book, their finished game will be their reward. Still others might want to use the game as a starting point for their own customisations.

I've built in customisation opportunities that should enable every reader to do something unique with the game. Some readers might just want to put their friends' names into the game, and hack the text descriptions. Others will seize the opportunity to design their own room and put it into the game, add a new corridor, or even redesign the map entirely. For graphic artists who are looking for a portfolio project, there's the opportunity to reskin the whole game by replacing our graphics with new image files. More ambitious coders might want to take the engine for the game and replace the maps, descriptions, images and puzzles to create an entirely new game set in a new world. Most chapters include Training Missions, which are small exercises to test your knowledge, with answers at the end of the chapter.

My author copies of Mission Python are here!

When writing the book, I often thought of the kinds of things I enjoyed programming when I was at school. Back then, I was programming an Amstrad CPC computer and I learned a lot from studying listings in magazines and books. I would have loved a book like this to guide me through building a whole game. There are lots of great Python books out there, but the examples tend to be limited to a couple of pages to demonstrate a coding feature. Mission Python provides a single in-depth worked example that allows readers to really get their teeth into a substantial coding project. The program gradually builds, chapter by chapter, in digestible chunks, so readers see the game come together in a similar way to how I did when I first built it.

One of the rooms from the Escape game in Mission Python

The game featured in Mission Python is called Escape. Here is one of the rooms from the game.

You can see some more screenshots of the game in my previous blog post here.

The book is printed in full colour throughout, and produced to the high standards you would expect from the publisher NoStarch. Thanks to the team who worked on this title including the editors Liz Chadwick and Riley Hoffman, NoStarch CEO Bill Pollock, and Rafael Pimenta who did such a fabulous job of creating the game art. Tech editor Dan Aldred helped test the listings, and Daniel Pope created Pygame Zero which I'm using for images and sounds in this project.

I'll be sharing some more insights into the book and some extra resources for readers too over the coming weeks, so keep an eye on this blog or follow me on Twitter for updates. You can find links to order the book here, and more information on the book at its webpage here.


Permanent link for this post.

Dip into the blog archive

June 2005 | July 2005 | August 2005 | September 2005 | October 2005 | November 2005 | December 2005 | January 2006 | February 2006 | March 2006 | April 2006 | May 2006 | June 2006 | July 2006 | August 2006 | September 2006 | October 2006 | November 2006 | December 2006 | January 2007 | February 2007 | March 2007 | April 2007 | May 2007 | June 2007 | July 2007 | August 2007 | September 2007 | October 2007 | November 2007 | December 2007 | January 2008 | February 2008 | March 2008 | April 2008 | May 2008 | June 2008 | July 2008 | August 2008 | September 2008 | October 2008 | November 2008 | December 2008 | January 2009 | February 2009 | March 2009 | April 2009 | May 2009 | June 2009 | July 2009 | August 2009 | September 2009 | October 2009 | November 2009 | December 2009 | January 2010 | February 2010 | March 2010 | April 2010 | May 2010 | June 2010 | August 2010 | September 2010 | October 2010 | November 2010 | December 2010 | March 2011 | April 2011 | May 2011 | June 2011 | July 2011 | August 2011 | September 2011 | October 2011 | November 2011 | December 2011 | January 2012 | February 2012 | March 2012 | June 2012 | July 2012 | August 2012 | September 2012 | October 2012 | December 2012 | January 2013 | February 2013 | March 2013 | April 2013 | June 2013 | July 2013 | August 2013 | September 2013 | October 2013 | November 2013 | December 2013 | January 2014 | February 2014 | March 2014 | April 2014 | May 2014 | June 2014 | July 2014 | August 2014 | September 2014 | October 2014 | November 2014 | December 2014 | January 2015 | February 2015 | March 2015 | April 2015 | May 2015 | June 2015 | September 2015 | October 2015 | December 2015 | January 2016 | February 2016 | March 2016 | May 2016 | July 2016 | August 2016 | September 2016 | October 2016 | November 2016 | December 2016 | January 2017 | April 2017 | July 2017 | August 2017 | October 2017 | November 2017 | January 2018 | February 2018 | August 2018 | October 2018 | November 2018 | Top of this page | RSS