Details

Adventures in Coding


Adventures in Coding


Adventures in ... 1. Aufl.

von: Eva Holland, Chris Minnick

17,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 03.03.2016
ISBN/EAN: 9781119232759
Sprache: englisch
Anzahl Seiten: 320

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

<b>Learn to code the <i>fun</i> way with nine real projects for true beginners</b> <p><i>Adventures in Coding</i> is written specifically for young people who want to learn how to code, but don't know where to begin. No experience? No problem! This book starts from the very beginning to take you from newbie to app-builder in no time. You'll 'learn by doing' as you build projects designed to help you master fundamental programming skills—and you'll have a great time doing it. These skills form the foundation of any programmer's tool set, and you'll continue to use them as you graduate to other devices and more difficult projects. Each chapter includes a video to help clear up any confusion and make sure you <i>really</i> understand, so you can keep programming your way through every single project without hitting major roadblocks. If you're ready to start designing your own program, this book will help you get started today.</p> <p>More and more kids are learning to code, and many schools offer basic programming classes as part of the regular curriculum. This book is structured like a class, starting with the basics and building skill upon skill, making it both a perfect accompaniment to formal instruction and an ideal guide for self-study.</p> <ul> <li>Learn the basic programming skills you'll use everywhere</li> <li>Build nine fun projects from super-basic to pretty challenging</li> <li>Build the skills you need to create bigger and better apps</li> <li>Watch video tutorials for extra help and explanations</li> </ul> <p>How many times have you played with an app only to find yourself wishing it had this or that feature? If you learn how to code, <i>you</i> can be the creator of the next big app! But it all starts with that first small project. <i>Adventures in Coding</i> provides all the information you need, so let's get coding!</p>
<p>Introduction 1</p> <p>What Is Scratch? 1</p> <p>Who Should Read This Book? 1</p> <p>What You Will Learn 1</p> <p>How This Book Is Structured 2</p> <p>What You Need to Use This Book 2</p> <p>Conventions 2</p> <p>Companion Website 3</p> <p>Contact Us 3</p> <p><b>Adventure </b><b>1</b></p> <p><b>Scratching the Surface 5</b></p> <p>Coding Is Everywhere 5</p> <p>Speaking the Language of Machines 6</p> <p>Knowing Your Coding Lingo 7</p> <p>Writing Your First Scratch Program 8</p> <p>Joining Scratch 8</p> <p>Meeting Scratch the Cat 11</p> <p>Moving Scratch Around 12</p> <p>Connecting Blocks 13</p> <p>Looping Movements 14</p> <p>Starting at the Green Flag 16</p> <p>Bouncing Off the Walls 17</p> <p>Creating a Sprite 18</p> <p>Handling Collisions on the Dance Floor 19</p> <p>Slowing It Down 22</p> <p>Learning the Scratch Environment 23</p> <p>Exploring the Scratch Project Editor 24</p> <p>The Toolbar 24</p> <p>The Stage 31</p> <p>The Sprite Pane 32</p> <p>The Sprite Info Pane 33</p> <p>The Scripts Area 33</p> <p>The Block Palette 34</p> <p>The Costume Pane 35</p> <p>The Sound Pane 36</p> <p>Working with Colors and Shapes in Scratch 37</p> <p>Further Adventures in Coding 37</p> <p><b>Adventure </b><b>2</b></p> <p><b>Where in the World Is Scratch? 39</b></p> <p>Setting the Stage 39</p> <p>Interacting with the Stage 41</p> <p>Customizing the Backdrop 42</p> <p>Using a Picture Backdrop 46</p> <p>Taking a Picture of the Stage 46</p> <p>Understanding Coordinates on the Stage 47</p> <p>Taking Center Stage 48</p> <p>Moving Left, Right, Up, and Down 49</p> <p>Knowing Your Directions 50</p> <p>Working with Degrees of Rotation 51</p> <p>Spinning Sprites 51</p> <p>Moving a Sprite 54</p> <p>Stepping 55</p> <p>Gliding 55</p> <p>Jumping 55</p> <p>Creating Random Scratch Art 56</p> <p>Randomizing Movements 56</p> <p>Drawing Random Lines 58</p> <p>Further Adventures in Coding 59</p> <p><b>Adventure </b><b>3</b></p> <p><b>Using Control Blocks 61</b></p> <p>Understanding Code Nesting 61</p> <p>Branching Programs in Scratch 64</p> <p>The if ( ) then Block 64</p> <p>The if ( ) then, else Block 65</p> <p>Boolean Blocks 67</p> <p>Making Comments in Scratch 69</p> <p>Standalone Comments 69</p> <p>Block Comments 71</p> <p>Looping in Scratch 72</p> <p>Looping Forever 72</p> <p>Stopping Loops with the stop ( ) Block 72</p> <p>Creating a Counting Loop 72</p> <p>Looping Until a Condition Is Met 73</p> <p>Waiting 74</p> <p>Building the Fly Catcher Game 74</p> <p>Setting the Stage 75</p> <p>Placing the Frog 76</p> <p>Adding the Hippo‐Fly 77</p> <p>Scripting the Hippo‐Fly 78</p> <p>Making the Tongue 78</p> <p>Further Adventures in Coding 81</p> <p><b>Adventure </b><b>4</b></p> <p><b>Using Sensing Blocks 83</b></p> <p>Learning the Sensing Blocks 83</p> <p>Getting and Using Text Input 84</p> <p>Detecting Key Presses 89</p> <p>Watching for Mouse Moves 91</p> <p>Using Timing 94</p> <p>Sensing Touching and Distance 97</p> <p>Building the Apple Patrol Game 102</p> <p>Further Adventures in Coding 105</p> <p><b>Adventure </b><b>5</b></p> <p><b>Using Event Blocks 107</b></p> <p>Understanding the Role of Events 107</p> <p>Working with Key Press Events 109</p> <p>Using Backdrop Change Events 114</p> <p>Implementing Sensing and Timing Events 118</p> <p>Detecting Video Motion 118</p> <p>Measuring Loudness 118</p> <p>Waiting for the Right Time 118</p> <p>Getting Your Message Across 118</p> <p>Putting on the Big Event 123</p> <p>Setting the Stages 124</p> <p>Programming the Ringleader 126</p> <p>Programming the Ballerina Show 128</p> <p>Programming the Dinosaur Show 130</p> <p>Programming the Stage 131</p> <p>Showing and Hiding Sprites 133</p> <p>Further Adventures in Coding 136</p> <p><b>Adventure </b><b>6</b></p> <p><b>Variables and Lists 137</b></p> <p>Understanding Variable Blocks 138</p> <p>Variables Have Names 140</p> <p>Variables Can Display on the Stage 142</p> <p>Variables Can Change 144</p> <p>Scratch Variables Are Persistent 146</p> <p>Scratch Variables Are Big 147</p> <p>Making Lists 148</p> <p>Making a List 148</p> <p>The Ultimate Party Host 151</p> <p>Introducing the Lists and Variables 152</p> <p>Asking for Names and Ages 152</p> <p>Recalling Names and Ages 154</p> <p>Further Adventures in Coding 158</p> <p><b>Adventure </b><b>7</b></p> <p><b>Using Operators in Scratch 159</b></p> <p>Saying Hello to the Operators 159</p> <p>Doing the Math 161</p> <p>Addition 161</p> <p>Subtraction 164</p> <p>Multiplication 165</p> <p>Division 166</p> <p>Coding Logically 168</p> <p>Operating on Text 170</p> <p>Combining Text with join ( ) ( ) 170</p> <p>Finding Letters 172</p> <p>Getting Text Length 173</p> <p>Understanding Other Operations 174</p> <p>( ) mod ( ) 174</p> <p>round ( ) 174</p> <p>( ) of ( ) 175</p> <p>Make a Math Practice Game 176</p> <p>Programming Different Paths 177</p> <p>Making the Addition Quiz 178</p> <p>Making the Multiplication Quiz 181</p> <p>Further Adventures in Coding 182</p> <p><b>Adventure </b><b>8</b></p> <p><b>Using Graphics and the Pen 185</b></p> <p>Creating Art with the Paint Editor 185</p> <p>Using Bitmap and Vector Graphics 189</p> <p>Understanding the Bitmap Tools 189</p> <p>Drawing with the Vector Tools 190</p> <p>Making Slides 192</p> <p>Use the Pen to Make a Skywriting Plane 198</p> <p>Further Adventures in Coding 203</p> <p><b>Adventure </b><b>9</b></p> <p><b>Building Your Own Blocks 205</b></p> <p>Making Your Own Blocks 205</p> <p>Splitting Programs into Custom Blocks 206</p> <p>Changing Custom Blocks 210</p> <p>Borrowing Blocks with the Backpack 215</p> <p>Putting on a Fashion Show 217</p> <p>Further Adventures in Coding 222</p> <p><b>Adventure </b><b>10</b></p> <p><b>Making and Using Sounds and Music 223</b></p> <p>Using Sounds 223</p> <p>The Sound Library 224</p> <p>Using the Sound Editor 227</p> <p>Editing Sounds 228</p> <p>Recording Sounds 229</p> <p>Importing Sounds 231</p> <p>Forming the Scratch Jazz Band 232</p> <p>Tuning Up Your Instruments 232</p> <p>Finding a Drummer 233</p> <p>Playing the Melody 234</p> <p>Playing Together 237</p> <p>Singing Along! 240</p> <p>Further Adventures in Coding 242</p> <p><b>Adventure </b><b>11</b></p> <p><b>Exploring the Scratch Universe 243</b></p> <p>Visiting scratch.mit.edu 243</p> <p>Sharing Your Projects 245</p> <p>The Scratch Community Rules 249</p> <p>Remixing Projects 252</p> <p>Interfacing with the Real World 253</p> <p>Understanding Electricity 255</p> <p>Understanding Makey Makey 256</p> <p>Understanding Conductivity 257</p> <p>Sensing with the PicoBoard 259</p> <p>Further Adventures in Coding 261</p> <p><b>Appendix </b><b>A</b></p> <p><b>Installing the Scratch Offline Editor 263</b></p> <p>Installing the Scratch Offline Editor on Windows 263</p> <p>Installing the Scratch Offline Editor to Your Mac Operating System 268</p> <p>Other Resources 275</p> <p><b>Appendix </b><b>B</b></p> <p><b>Testing Your Programs 277</b></p> <p>Practice Proper Planning 277</p> <p>Ask Other People to Test 278</p> <p>Look for Possible Invalid Input 279</p> <p>Use Comments Often 280</p> <p>Test Early and Often 280</p> <p>Keep Track of Tests and What Breaks Things 280</p> <p>Use Custom Blocks 281</p> <p>Use Sliders for Numbers 281</p> <p>Keep Learning 282</p> <p>Keep Practicing 283</p> <p>Glossary 285</p> <p>Index 289</p>
<p><b>Eva Holland</b> is an accomplished author, trainer and co-founder of WatzThis?, a company aimed at teaching technical topics in a fun and approachable manner. In addition to being co-author of this book, Eva is the co-author <i>JavaScript For Kids For Dummies</i> and <i>Coding with JavaScript For Dummies.</i> She enjoys tennis, music, and exploring the caves of the unknown. <p><b>Chris Minnick</b> is a prolific published author, trainer, web developer and co-founder of WatzThis?. Chris loves sharing his knowledge with others and has trained thousands of adults and kids in computer programming. As an author, his published books include <i>JavaScript For Kids For Dummies, Coding with JavaScript For Dummies, Beginning HTML5 and CSS3 For Dummies,</i> and <i>Webkit For Dummies.</i> Chris is an avid reader, writer, swimmer, and musician.
<p><b>Have fun creating and coding your own programs with 11 awesome adventures</b> <p>Want to code but don't have a clue how to get started? In<i> Adventures in Coding</i>, authors and coding experts, Eva Holland and Chris Minnick teach you the easy way to learn how to go from newbie to app-builder in no time at all. The book's 11 awesome projects show you how to master fundamental programming skills so you can go from basic to more challenging projects. You will learn by doing and have fun along to the way. <p><i>Adventures in Coding</i> includes videos that are designed to answer your questions and make sure you really understand the information. With clear instructions and videos to help, you will quickly be programming your way through every single project. Ready to embark on your own coding adventure? This book will get you started right away. You will learn how to: <ul> <li>Create real computer programs while learning the fundamentals of coding</li> <li>Discover the secrets of creating your own games, apps, and art</li> <li>Conquer the ins and outs of coding within the Scratch universe</li> <li>Connect with fellow "Scratchers" and share projects</li> <li>Master each of the adventures and you will have 11 finished projects</li> <li>Watch the videos if you need extra help and explanations</li> </ul> <p>Visit <b>www.wiley.com/go/adventuresincoding</b> for video instruction that further explains and illustrates each chapter.

Diese Produkte könnten Sie auch interessieren: