Learn to Program with Minecraft : Transform Your World with the Power of Python


Craig. Richardson
Bok Engelsk 2015 · Electronic books.
Utgitt
San Francisco : : No Starch Press, , 2015.
Omfang
1 online resource (322 p.)
Passer for
Opplysninger
Description based upon print version of record.. - About the Author ; About the Technical Reviewer ; Brief Contents ; Contents in Detail ; Acknowledgments; Introduction; Why Learn to Program?; Why Python?; Why Minecraft?; What's in This Book?; Online Resources; Let the Adventure Begin!; Chapter 1: Setting Up for Your Adventure; Setting Up Your Windows PC; Installing Minecraft; Installing Python; Installing Java; Installing the Minecraft Python API and Spigot; Running Spigot and Creating a Game; Starting Over with a New World; Playing Offline; Switching to Survival Mode; Setting Up Your Mac; Installing Minecraft; Installing Python. - Bounce Back from ErrorsMission #15: Only Numbers Allowed; Mission #16: Sprint Record; What You Learned; Chapter 5: Figuring Out What's True and False with Booleans; Boolean Basics; Mission #17: Stop Smashing Blocks!; Concatenating Booleans; Comparators; Equal To; Mission #18: Am I Swimming?; Not Equal To; Mission #19: Am I Standing in Something Other Than Air?; Greater Than and Less Than; Greater Than or Equal To and Less Than or Equal To; Mission #20: Am I Above the Ground?; Mission #21: Am I Close to Home?; Logical Operators; and; Mission #22: Am I Entirely Underwater?; or. - Changing the Values of VariablesIntegers; Mission #1: Teleport the Player; Floats; Mission #2: Go Exactly Where You Want; Slowing Down Teleportation Using the time Module; Mission #3: Teleportation Tour; Debugging; Mission #4: Fix the Buggy Teleportation; What You Learned; Chapter 3: Building Quickly and Traveling Far with Math; Expressions and Statements; Operators; Addition ; Mission #5: Stack Blocks; Mission #6: Super Jump; Subtraction; Mission #7: Change the Blocks Under You; Using Math Operators in Arguments; Mission #8: Speed Building; Multiplication; Division. - Installing JavaInstalling the Minecraft Python API and Spigot; Running Spigot and Creating a Game; Starting Over with a New World; Playing Offline; Switching to Survival Mode; Setting Up Your Raspberry Pi; Getting to Know IDLE; Getting to Know the Python Shell; Say Hello to IDLE's Text Editor; When to Use the Python Shell and When to Use the Text Editor; The Prompts Used in This Book; Testing Your Minecraft Python Setup; Chapter 2: Teleporting with Variables; What Is a Program?; Storing Data with Variables; The Structure of Programming Languages; Syntax Rules for Variables. - Mission #23: Am I in a Tree?. - Mission #9: Spectacular SpiresExponents; Parentheses and Order of Operations ; Handy Math Tricks; Shorthand Operators; Playing with Random Numbers; Mission #10: Super Jump Somewhere New!; What You Learned; Chapter 4: Chatting with Strings; What Are Strings?; The print Function; Mission #11: Hello, Minecraft World; The input Function; Mission #12: Write Your Own Chat Message; Joining Strings; Converting Numbers to Strings; Concatenating Integers and Floats; Mission #13: Add Usernames to Chat; Converting Strings to Integers with int; Mission #14: Create a Block with Input. - Learn to Program with with Minecraft is a kid-friendly introduction to Python programming through customizing Minecraft on the Raspberry Pi.
Emner
Sjanger
Dewey
ISBN
978-1-59327-670-6 : Nkr. 229.00

Bibliotek som har denne