Reader small image

You're reading from  Raspberry Pi Projects for Kids

Product typeBook
Published inMar 2014
Publisher
ISBN-139781783982226
Edition1st Edition
Right arrow
Author (1)
Daniel Leonard Bates
Daniel Leonard Bates
author image
Daniel Leonard Bates

Daniel Bates is a computer science researcher at the University of Cambridge. His day job involves inventing designs for future mobile phone processors and when he gets home, he likes playing games or working on one of his coding projects (or both!). Daniel has been a volunteer for the Raspberry Pi Foundation since 2011 and is enthusiastic about introducing new people to computing. He has previously written Instant Minecraft: Pi Edition Coding How-to and Raspberry Pi Projects for Kids (First Edition), both published by Packt Publishing.
Read more about Daniel Leonard Bates

Right arrow

What's next?


Now that your game is working, you might like to try using most of the same code to create different games. (I suggest that if you make changes, you save it to a different file, so you don't lose your current game.) In particular, you could change nexttarget() so that it asks a question and gives some possible answers, and the player has to choose an answer as quickly as possible. Alternatively, you could create a Simon Says style game, where the game gives a sequence of buttons that must be pressed, and the player tries to repeat it.

If you have an Internet connection and are feeling adventurous, you could try using your controller to play your Angry Birds game from the previous chapter. Search the Internet for ScratchGPIO to download an enhanced version of Scratch, and try to explore how it can interact with the Raspberry Pi's GPIO pins.

If you're interested in learning more about electronics and what you can do with GPIO, take a look at Adafruit's online tutorials at http:...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi Projects for Kids
Published in: Mar 2014Publisher: ISBN-13: 9781783982226

Author (1)

author image
Daniel Leonard Bates

Daniel Bates is a computer science researcher at the University of Cambridge. His day job involves inventing designs for future mobile phone processors and when he gets home, he likes playing games or working on one of his coding projects (or both!). Daniel has been a volunteer for the Raspberry Pi Foundation since 2011 and is enthusiastic about introducing new people to computing. He has previously written Instant Minecraft: Pi Edition Coding How-to and Raspberry Pi Projects for Kids (First Edition), both published by Packt Publishing.
Read more about Daniel Leonard Bates