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
Introduction to Java Through Game Development: Learn Java Programming Skills by Working with Video Games
Interested in learning how to program with Java? Let’s face it, the best way to learn …
book
Killer Game Programming in Java
Although the number of commercial Java games is still small compared to those written in C …
book
Learn Java with Math: Using Fun Projects and Games
There are many good Java programming books on the market, but it's not easy to find …
book
Java Game Development with LibGDX: From Beginner to Professional
Learn to design and create video games using the Java programming language and the LibGDX software …