Write Code Like a Pro
close menu
Bookswagon
search
My Account
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Children's Books > Education & Reference > Mathematics, science and technology > IT and computing, ICT > Write Code Like a Pro: Create Working Applications
Write Code Like a Pro: Create Working Applications

Write Code Like a Pro: Create Working Applications


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

CODERS ARE ROCK STARS

Coders are the people who are building the future. You can stake your own claim on the future by learning pro coding techniques. Take a look inside to figure out how and why coders think a bit differently, the basics of building a working application with a professional coding language, and how to test your app to make sure it works. Get a jump on your future as a rock-star coder today!

  • See the big picture – get a grip on how pro coders start and finish a project
  • Know the code – get your hands on a pro coding language and put it to work
  • Make things happen – create a working application you can share with friends


Table of Contents:

Introduction xi

About This Book xi

Foolish Assumptions xii

Icons Used in This Book xii

Where to Go from Here xii

Chapter 1: Getting Started with Java and Processing 1

Getting Started with Processing 2

Save and Reopen Processing Programs 9

Chapter 2: Writing Your First Program 13

Getting to Know the Canvas 14

Calling Methods in Java 21

Creating Variables 23

Chapter 3: Drawing with Code 25

Drawing a Triangle 26

Drawing a Rectangle 30

Drawing a Quadrilateral 32

Drawing an Ellipse 34

Drawing an Arc 36

Creating a Unique Drawing 38

Chapter 4: Adding Color to the Canvas 39

Adding Color to Your Canvas 40

Learning about RGB Values 43

Adding Color to Shapes 45

Chapter 5: Coding Your First Animation 51

Learning about Methods 52

Writing Your First Two Methods 54

Writing Your First Two Original Methods 57

Adding Parameters to Your Method 63

Chapter 6: Allowing User Interaction 67

Moving with the Mouse 68

Interacting with Mouse Clicks 72

Making a Horizontal Slider 74

Working with Conditional Statements 75

Moving Shapes with the Keyboard 79

Chapter 7: Coding Your First Game 85

Creating a Scene 86

Adding a Character to Your Game 90

Adding Movement to Your Videogame 96

Updating the Background 99

Adding Gravity to Your Videogame 101

Making Lava Pits 104

Chapter 8: Making Artificial Intelligence 111

Adding an Enemy to Your Videogame 112

Making the Enemy Move 114

Creating Your Own Java Class 116

Creating a Second Java Class 123

Adding Health to Your Character 128

Giving Your Enemies Collision Detection 131

Chapter 9: Planning Your Ninja Bird Game 135

Making Sense of the Flappy Bird Code 138

Outlining Your Ninja Bird 140

Designing Your Java Classes 141

Chapter 10: Planning Your Ninja Bird Methods 147

Designing Your Setup Method 148

Designing Your Draw Method 151

Designing Your Collision Methods 156

Adding Helper Methods 159

Chapter 11: Coding the Ninja Bird Basics 165

Converting Comments to Code 166

Chapter 12: Coding the Final Ninja Bird Code 191

Adding Randomness to Your Pipes 192

Detecting Collision 194

Keeping Score in Your Game 201

Cleaning Up the Code 208



About the Author :

Sarah Guthals, Ph.D., has dedicated her life to coding education. She builds technology for kids to learn, create, and share safely online. She loves to help teachers demonstrate coding in the classroom, and she wishes she could teach her cats how to code!


Best Sellers


Product Details
  • ISBN-13: 9781119404231
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: Standards Information Network
  • Language: English
  • Sub Title: Create Working Applications
  • ISBN-10: 1119404231
  • Publisher Date: 01 Dec 2017
  • Binding: Digital (delivered electronically)
  • No of Pages: 224


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Write Code Like a Pro: Create Working Applications
John Wiley & Sons Inc -
Write Code Like a Pro: Create Working Applications
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Write Code Like a Pro: Create Working Applications

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!