You are previewing Instant Minecraft: Pi Edition Coding How-to.
O'Reilly logo
Instant Minecraft: Pi Edition Coding How-to

Book Description

Expand your Minecraft world by learning to code with Minecraft: Pi Edition

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results

  • Enhance your Minecraft building techniques using computer code

  • Get started with the Linux operating system on the Raspberry Pi

  • Make the Minecraft world interact with the real world

  • In Detail

    Minecraft is a hugely successful game, having sold more than 20 million copies worldwide across a range of platforms. The Raspberry Pi is an inexpensive, low-power computer that aims to get people interested in Computer Science. The two have joined forces to bring you Minecraft: Pi Edition, allowing you to explore the world of programming and to see instant results in the Minecraft world.

    Instant Minecraft: Pi Edition Coding How-to provides a clear and concise guide to Minecraft: Pi Edition, from setting up a Raspberry Pi and getting Minecraft running, right through to some simple (and not-so-simple!) programming. The programs used in this book can speed up the Minecraft building process and allow interactivity that wouldn't be possible otherwise.

    This book will take you through a number of clear recipes showing you how to set up a Raspberry Pi, introduce you to the Python programming language, and show you how to make the Minecraft world communicate with the real world.

    On the way, you will get a basic grounding in the Linux operating system and learn some good coding practices. You will create a game-within-a-game in the form of an interactive Reversi board in the Minecraft world. Some simple electronics examples are also included, which show you how easily software and hardware can work together.

    When you have finished reading Instant Minecraft: Pi Edition Coding How-to, the sky is the limit for your Minecraft building. Interactive environments will be the norm, and you will discover how programming can help in every part of your Minecraft experience.

    Table of Contents

    1. Instant Minecraft: Pi Edition Coding How-to
      1. Instant Minecraft: Pi Edition Coding How-to
      2. Credits
      3. About the Author
      4. About the Reviewer
      5. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
      6. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      7. 1. Instant Minecraft:Pi Edition Coding How-to
        1. Setting up Raspberry Pi (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Updating and installing new software
            2. Other uses for Raspberry Pi
            3. Troubleshooting
        2. Setting up Minecraft: Pi Edition (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. What else was downloaded?
            2. Multiplayer
            3. Getting started with no Internet connection
        3. Coding with Minecraft (Simple)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. The minecraft module
            2. The block module
        4. Creating a Reversi game board (Intermediate)
          1. How to do it...
          2. How it works...
          3. There's more...
        5. Adding Reversi rules (Intermediate)
          1. How to do it...
          2. How it works...
          3. There's more...
        6. Bringing Reversi to Minecraft (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        7. Reacting to the real world (Advanced)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Troubleshooting
        8. Building a secret door (Intermediate)
          1. How to do it...
          2. How it works...
          3. There's more...
        9. Reacting to the Minecraft world (Advanced)
          1. How to do it...
          2. How it works...
          3. There's more...
        10. Building a burglar alarm (Intermediate)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...