Introduction to Java Programming with Games
Table of Contents
1.1 Learning From Simple Computer Games.
1.2 What's In a Game?
1.3 Active and Passive: Rule Followers.
1.4 Running a Game.
1.5 Strategies: Winning a Game.
1.6 What Is in a Computer Program?
1.8 Chapter Review Exercises.
2 Designing Your First Program.
2.3 Creating Executable Programs.
2.4 Problem Solving.
2.6 Finishing Up BasketBall.
2.8 Chapter Review Exercises.
2.9 Programming Problems.
3 FANG: A Survey of Classes.
3.1 How Computers Work.
3.2 FANG Basics.
3.3 Examining a Public Protocol.
3.5 Chapter Review Exercises.
3.6 Programming Problems.
4 Deciding What Happens: if.
4.1 A Simplest Game.
4.2 Computer Program (Game) Design.
4.5 Finishing NewtonsApple.
4.7 Chapter Review Exercises.
4.8 Programming Problems.
5 Components: Names, Types, Expressions.
5.1 Chance in Games.
5.2 One More Sprite: CompositeSprite.
5.3 Java Types .
5.4 Calculating with the Computer.
5.5 Naming Things in Java.
5.6 Finishing EasyDice.
5.8 Chapter Review Exercises.
5.9 Programming Problems.
6 Rules: Methods, Parameters, and Design.
6.1 A Simple
6.2 Top-down Design.
6.3 Delegation: Methods.
6.4 Expressions Redux.
6.5 Finishing Up SoloPong.
6.7 Chapter Review Exercises.
6.8 Programming Problems.
7 Components Meet Rules: Classes.
7.1 Playing Together.
7.2 Abstraction: Defining New Types.
7.3 Finishing the Game.
7.5 Chapter Review Exercises.
7.6 Programming Problems.
8 Collections: ArrayList and Iteration.
8.1 Flu Pandemic Simulator .
8.2 Console I/O: The System Object.
8.4 Collections: One and Many.
8.5 ArrayList Is an Object.
8.6 Finishing the Flu Simulation.
8.8 Chapter Review Exercises.
8.9 Programming Problems.
9 Multidimensional Data Structures.
9.1 Rescue Mission.
9.3 Multidimensional Collections.
9.5 Finishing Rescue Mission.
9.7 Chapter Review Exercises.
9.8 Programming Problems.
10 Scanner and String: Character Input.
10.1 Designing Hangman.
10.2 Starting Programs.
10.3 Different Iteration.
10.4 String Manipulation.
10.5 Reading Files.
10.6 Finishing Hangman.
10.8 Chapter Review Exercises.
10.9 Programming Problems.
11 Console I/O: Games without FANG.
11.1 Another Dice Game: Pig.
11.2 Pure Console I/O.
11.3 Sorting a Collection.
11.4 Finishing Pig.
11.6 Chapter Review Exercises.
11.7 Programming Problems.
12 More Streams: Separating Programs and Data.
12.1 Outsmarting the Player: Twenty Questions.
12.2 Reading and Writing Files.
12.3 Data-driven Programs.
12.4 Encoding Objects to Read or Write Them.
12.5 Finishing the Game.
12.7 Chapter Review Exercises.
12.8 Programming Problems.
13 Lists of Lists and Collision Detection.
13.1 Designing BlockDrop.
13.2 Software Engineering: Managing Complexity.
13.3 When It's Safe to Move: Collision Detection.
13.4 Finishing BlockDrop.
13.6 Chapter Review Exercises.
13.7 Programming Problems.
14 String Processing: Interactive Fiction.
14.1 Back to the Future: Interactive Fiction.
14.2 Escape from T-Hall.
14.3 Reading the Data.
14.4 Attribute-Value Pairs.
14.5 Incremental Development.
14.6 Finding a Match.
14.7 Making It a Real Game.
14.9 Chapter Review Exercises.
14.10 Programming Problems.
A Java Language Keywords.
C Java Templates.
D FANG Color Names.
Sign up now »
- FT.NET - Sitecore Developer - Melbourne - PermNSW
- FTOS Web Applications DeveloperNSW
- FTSenior Python DeveloperNSW
- FTSenior Python DeveloperNSW
- FTQuality ManagerSA
- FTR&D EngineerSA
- FTJob Title: Mac Systems/ Enterprise Systems EngineerNZ
- FTWeb Developer- Drupal and PHP. Exciting new position- #2 in Dev team.$100k+SuperNSW
- FTLead Software EngineerSA
- FTSenior Python Web Applications DeveloperNSW
Are your requirements the need for faster release cycles, you have reduced budgets required to run and manage a complex test environment, and you want to decrease your third party ...
"Darn those pesky laws that get in the way of commercial exploitation ..."
Larry Page wants to see your medical records
"Instead of partitioning the device between corporate and personal data, another approach ..."
Dual-Persona Smartphones Not a BYOD Panacea
"Well that's a nice back-handed compliment isn't it? So now, finally, my ..."
After two-year hiatus, EFF accepts bitcoin donations again
"Actually, both Mobile App developers and CIOs should be blamed for it. ..."
CIOs struggle to deliver timely mobile business apps: survey
"Too little too late. Spice normally has better standards than this. I ..."
Spiceworks' free management software gets integrated MDM
- Commonwealth Bank leads four Australian brands in the 2013 top 100 Global brands list
- More Australians are using mobiles to connect to social media: report
- Oo.com.au partners with Responsys to overhaul digital customer strategy
- Coles Flybuys wins over Aussie consumers in new customer loyalty schemes report
- Tablet advertising exceeds smartphone spend in March quarter: IAB