Introduction to Programming with Greenfoot - Bookswagon UAE
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 > Computing and Information Technology > Computer programming / software engineering > Web programming > Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition
Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition

Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition


     0     
5
4
3
2
1



Out of Stock


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

Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with games and Simulations is ideal for introductory courses in Java Programming or Introduction to Computer Science.   The only textbook to teach Java programming using Greenfoot—this is “Serious Fun.”   Programming doesn’t have to be dry and boring. This book teaches Java programming in an interactive and engaging way that is technically relevant, pedagogically sound, and highly motivational for students. Using the Greenfoot environment, and an extensive collection of compelling example projects, students are given a unique, graphical framework in which to learn programming.

Table of Contents:
Introduction 1   Chapter 1 Getting to know Greenfoot 3 1.1 Getting started 3 1.2 Objects and classes 4 1.3 Interacting with objects 6 1.4 Return types 7 1.5 Parameters 8 1.6 Greenfoot execution 9 1.7 A second example 10 1.8 Understanding the class diagram 10 1.9 Playing with Asteroids 12 1.10 Source code 13 1.11 Summary 15   Chapter 2 The first program: Little Crab 16 2.1 The Little Crab scenario 16 2.2 Making the crab move 18 2.3 Turning 19 2.4 Dealing with screen edges 21 2.5 Summary of programming techniques 25   Chapter 3 Improving the Crab–more sophisticated programming 27 3.1 Adding random behavior 27 3.2 Adding worms 30 3.3 Eating worms 32 3.4 Creating new methods 33 3.5 Adding a Lobster 36 3.6 Keyboard control 36 3.7 Ending the game 38 3.8 Adding sound 40 3.9 Summary of programming techniques 42   Chapter 4 Finishing the crab game 43 4.1 Adding objects automatically 43 4.2 Creating new objects 45 4.3 Animating images 46 4.4 Greenfoot images 47 4.5 Instance variables (fields) 48 4.6 Assignment 49 4.7 Using actor constructors 50 4.8 Alternating the images 52 4.9 The if/else statement 53 4.10 Counting worms 53 4.11 More ideas 55 4.12 Summary of programming techniques 56   Interlude 1 Sharing your scenarios 57 I1.1 Exporting your scenario 57 I1.2 Export to application 57 I1.3 Export to a web page 58 I1.4 Publishing on the Greenfoot Gallery 59   Chapter 5 Making music: An on-screen piano 61 5.1 Animating the key 62 5.2 Producing the sound 65 5.3 Abstraction: Creating multiple keys 66 5.4 Building the piano 68 5.5 Using loops: The while loop 69 5.6 Using arrays 72 5.7 Summary of programming techniques 76   Chapter 6 Interacting objects: Newton’s Lab 78 6.1 The starting point: Newton’s Lab 79 6.2 Helper classes: SmoothMover and Vector 80 6.3 The existing Body class 83 6.4 First extension: Creating movement 85 6.5 Using Java library classes 86 6.6 Adding gravitational force 87 6.7 The List type 90 6.8 The for-each loop 91 6.9 Applying gravity 93 6.10 Trying it out 95 6.11 Gravity and music 97 6.12 Summary of programming techniques 99   Chapter 7 Collision detection: Asteroids 101 7.1 Investigation: What is there? 102 7.2 Painting stars 103 7.3 Turning 106 7.4 Flying forward 107 7.5 Colliding with asteroids 109 7.6 Casting 112 7.7 Adding fire power: The proton wave 115 7.8 Growing the wave 115 7.9 Interacting with objects in range 119 7.10 Further development 121 7.11 Summary of programming techniques 122   Interlude 2 The Greeps competition 123 I2.1 How to get started 124 I2.2 Programming your Greeps 125 I2.3 Running the competition 126 I2.4 Technicalities 126   Chapter 8 Creating images and sound 127 8.1 Preparation 127 8.2 Working with sound 129 8.3 Sound recording and editing 130 8.4 Sound file formats and file sizes 131 8.5 Working with images 133 8.6 Image files and file formats 133 8.7 Drawing images 135 8.8 Combining images files and dynamic drawing 137 8.9 Summary 139   Chapter 9 Simulations 141 9.1 Foxes and rabbits 142 9.2 Ants 145 9.3 Collecting food 146 9.4 Setting up the world 149 9.5 Adding pheromones 149 9.6 Path forming 152 9.7 Summary 152   Chapter 10 Additional scenario ideas 154 10.1 Marbles 154 10.2 Lifts 155 10.3 Boids 156 10.4 Circles 157 10.5 Explosion 158 10.6 Breakout 159 10.7 Platform jumper 160 10.8 Wave 161 10.9 Summary 162   Appendix A Installing Greenfoot 163 B Greenfoot API 165 C Collision detection 169 D Some Java details 175   Index 185 

About the Author :
Michael Kölling is a professor at the Computing Laboratory, University of Kent, in Canterbury, UK. He holds a PhD in computer science from Sydney University, and has worked in Australia, Denmark and the UK. Michael’s research interests are in the areas of object-oriented systems, programming languages, software tools, computing education and HCI. He has published numerous papers on object-orientation and computing education topics and is co-author of a Java textbook (Objects First with Java, Pearson Education, 2008.(ISBN 0-13-606086-2). Michael is one of the developers of BlueJ, an educational programming environment, and more recently, the Greenfoot platform. The Higher Education Academy elected Michael as a National Teaching Fellow in 2008.


Best Sellers


Product Details
  • ISBN-13: 9780132454285
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Pearson
  • Height: 238 mm
  • No of Pages: 216
  • Sub Title: Object-Oriented Programming in Java with Games and Simulations: International Edition
  • Width: 197 mm
  • ISBN-10: 0132454289
  • Publisher Date: 10 Sep 2009
  • Binding: Paperback
  • Language: English
  • Spine Width: 11 mm
  • Weight: 370 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition
Pearson Education (US) -
Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition
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.

Introduction to Programming with Greenfoot: Object-Oriented Programming in Java with Games and Simulations: International Edition

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

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!