Introductory Programming with Simple Games: Using Java and the Freely Available Networked Game EngineThis is an excellent resource for programmers who need to learn Java but aren’t interested in just reading about concepts. Introduction to Java Programming with Games follows a spiral approach to introduce concepts and enable them to write game programs as soon as they start. It includes code examples and problems that are easy to understand and motivates them to work through to find the solutions. This game-motivated presentation will help programmers quickly apply what they’ve learned in order to build their skills. |
Contents
Whats in a Game? | 1 |
1 | 7 |
Character Input | 10 |
1 | 13 |
1 | 23 |
4 | 33 |
Designing Your First Program | 48 |
Java | 84 |
8 | 212 |
3 | 224 |
ArrayList and Iteration | 260 |
One and Many | 276 |
56 | 399 |
Multidimensional Data Structures | 401 |
Multidimensional Collections | 411 |
80 | 418 |
Common terms and phrases
abstract data type abstraction addSprite AdventureBook AdventurePage answer apple applet ArrayList ball block Boolean expression button bytecode chapter characters classpath clicked color command line compiler components CompositeSprite computer program constructed constructor defined definition deltax dice dropApple dynamic type EasyButton EasyDice element executed extends Game FANG field Figure formal parameter game design game engine game loop implementation input inside integer interface is-a iteration JavaDoc look means memory method header Modify mouse move multiple NewtonsApple nextStep null object OneDie output OvalSprite Override parameter list play player private void Programming Problem public class public protocol public static public void setup random number rectangle RectangleSprite reference returns true Review Exercise roll rules Scanner score screen sequence setColor sprite statement static final String StringSprite Swimmer System.out.println template theTable TicTacToe UUID variable velocity write