Book description
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 to Programming with Greenfoot
- Overview of Greenfoot
- Introduction to Programming with Greenfoot
- List of scenarios discussed in this book
- Preface
- Acknowledgments
-
Introduction
- 1. Getting to know Greenfoot
- 2. The first program: Little Crab
- 3. Improving the Crab—more sophisticated programming
-
4. Finishing the crab game
- 1. Sharing your scenarios
- 5. Making music: An on-screen piano
-
6. Interacting objects: Newton’s Lab
-
- 6.1. The starting point: Newton’s Lab
- 6.2. Helper classes: SmoothMover and Vector
- 6.3. The existing Body class
- 6.4. First extension: Creating movement
- 6.5. Using Java library classes
- 6.6. Adding gravitational force
- 6.7. The List type
- 6.8. The for-each loop
- 6.9. Applying gravity
- 6.10. Trying it out
- 6.11. Gravity and music
- 7. Collision detection: Asteroids
- 2. The Greeps competition
- 8. Creating images and sound
- 9. Simulations
- 10. Additional scenario ideas
- A. Installing Greenfoot
-
B. Greenfoot API
- C. Collision detection
- D. Some Java details
Product information
- Title: Introduction to Programming with Greenfoot: Object–Oriented Programming in Java™ with Games and Simulations, First Edition
- Author(s):
- Release date: August 2009
- Publisher(s): Pearson
- ISBN: 9780132773140
You might also like
book
Beginning Java Game Development with LibGDX
Design and create video games using Java, with the LibGDX software library. By reading Beginning Java …
book
Essential Java for AP CompSci: From Programming to Computer Science
Gain the essential skills for computer science using one of today's most popular programming languages, Java. …
book
How to Use Objects: Code and Concepts
While most developers today use object-oriented languages, the full power of objects is available only to …
book
Beginning BBC micro:bit: A Practical Introduction to micro:bit Development
Learn essential concepts and techniques to build simple-to-advanced projects and overcome common programming challenges in micro:bit …