Book description
Learning Java Through Games teaches students how to use the different features of the Java language as well as how to program. Suitable for self-study or as part of a two-course introduction to programming, the book covers as much material as possible from the latest Java standard while requiring no previous programming experience.
Taking an application-motivated approach, the text presents an abundance of games. Students must read through the whole chapter to understand all the features that are needed to implement the game. Most chapters start with a description of a game and then introduce different Java constructs for implementing the features of the game on need-to-use bases.
The text teaches students not only how to write code that works but also how to follow good software practices. All sample programs in the text strive to achieve low cohesion and high coupling—the hallmarks of well-designed code. Many programs are refactored multiple times to achieve code that is easy to understand, reuse, and maintain.
The first part of the book covers basic programming techniques, such as conditional statements, loops, methods, arrays, and classes. The second part focuses on more advanced topics, including class inheritance, recursions, sorting algorithms, GUI programming, exception handling, files, and applets.
Table of contents
- Front Cover (1/2)
- Front Cover (2/2)
- Dedication
- Contents (1/2)
- Contents (2/2)
- Preface
- About the Author
- List of Figures
- List of Tables
-
Part I - Basic Principles
- Chapter 1 - Computer Hardware and Software (1/2)
- Chapter 1 - Computer Hardware and Software (2/2)
- Chapter 2 - Data Types and Conditional Statements (1/6)
- Chapter 2 - Data Types and Conditional Statements (2/6)
- Chapter 2 - Data Types and Conditional Statements (3/6)
- Chapter 2 - Data Types and Conditional Statements (4/6)
- Chapter 2 - Data Types and Conditional Statements (5/6)
- Chapter 2 - Data Types and Conditional Statements (6/6)
- Chapter 3 - Loops (1/4)
- Chapter 3 - Loops (2/4)
- Chapter 3 - Loops (3/4)
- Chapter 3 - Loops (4/4)
- Chapter 4 - Methods and Formatted Output (1/5)
- Chapter 4 - Methods and Formatted Output (2/5)
- Chapter 4 - Methods and Formatted Output (3/5)
- Chapter 4 - Methods and Formatted Output (4/5)
- Chapter 4 - Methods and Formatted Output (5/5)
- Chapter 5 - Introduction to Arrays (1/6)
- Chapter 5 - Introduction to Arrays (2/6)
- Chapter 5 - Introduction to Arrays (3/6)
- Chapter 5 - Introduction to Arrays (4/6)
- Chapter 5 - Introduction to Arrays (5/6)
- Chapter 5 - Introduction to Arrays (6/6)
- Chapter 6 - Introduction to Classes (1/6)
- Chapter 6 - Introduction to Classes (2/6)
- Chapter 6 - Introduction to Classes (3/6)
- Chapter 6 - Introduction to Classes (4/6)
- Chapter 6 - Introduction to Classes (5/6)
- Chapter 6 - Introduction to Classes (6/6)
- Chapter 7 - The ArrayList Class and the enum Keyword (1/4)
- Chapter 7 - The ArrayList Class and the enum Keyword (2/4)
- Chapter 7 - The ArrayList Class and the enum Keyword (3/4)
- Chapter 7 - The ArrayList Class and the enum Keyword (4/4)
-
Part II - Advanced Programming Techniques
- Chapter 8 - Classes Revisited (1/7)
- Chapter 8 - Classes Revisited (2/7)
- Chapter 8 - Classes Revisited (3/7)
- Chapter 8 - Classes Revisited (4/7)
- Chapter 8 - Classes Revisited (5/7)
- Chapter 8 - Classes Revisited (6/7)
- Chapter 8 - Classes Revisited (7/7)
- Chapter 9 - Fun with Swing (1/4)
- Chapter 9 - Fun with Swing (2/4)
- Chapter 9 - Fun with Swing (3/4)
- Chapter 9 - Fun with Swing (4/4)
- Chapter 10 - Nested Classes and Event Handling (1/6)
- Chapter 10 - Nested Classes and Event Handling (2/6)
- Chapter 10 - Nested Classes and Event Handling (3/6)
- Chapter 10 - Nested Classes and Event Handling (4/6)
- Chapter 10 - Nested Classes and Event Handling (5/6)
- Chapter 10 - Nested Classes and Event Handling (6/6)
- Chapter 11 - The Breakout Game (Complete Version) (1/6)
- Chapter 11 - The Breakout Game (Complete Version) (2/6)
- Chapter 11 - The Breakout Game (Complete Version) (3/6)
- Chapter 11 - The Breakout Game (Complete Version) (4/6)
- Chapter 11 - The Breakout Game (Complete Version) (5/6)
- Chapter 11 - The Breakout Game (Complete Version) (6/6)
- Chapter 12 - Layout Management and GUI Components (1/6)
- Chapter 12 - Layout Management and GUI Components (2/6)
- Chapter 12 - Layout Management and GUI Components (3/6)
- Chapter 12 - Layout Management and GUI Components (4/6)
- Chapter 12 - Layout Management and GUI Components (5/6)
- Chapter 12 - Layout Management and GUI Components (6/6)
- Chapter 13 - Exception Handling and Files (1/6)
- Chapter 13 - Exception Handling and Files (2/6)
- Chapter 13 - Exception Handling and Files (3/6)
- Chapter 13 - Exception Handling and Files (4/6)
- Chapter 13 - Exception Handling and Files (5/6)
- Chapter 13 - Exception Handling and Files (6/6)
- Chapter 14 - Recursion (1/5)
- Chapter 14 - Recursion (2/5)
- Chapter 14 - Recursion (3/5)
- Chapter 14 - Recursion (4/5)
- Chapter 14 - Recursion (5/5)
- Chapter 15 - Java Applets (1/4)
- Chapter 15 - Java Applets (2/4)
- Chapter 15 - Java Applets (3/4)
- Chapter 15 - Java Applets (4/4)
- Back Cover
Product information
- Title: Learning Java Through Games
- Author(s):
- Release date: November 2013
- Publisher(s): CRC Press
- ISBN: 9781466593329
You might also like
video
Modern Java in Action video edition
"A comprehensive and practical introduction to the modern features of the latest Java releases with excellent …
video
Learning Path: Professional Java Developer
40+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Java™ SE 7 …
video
Java for beginners: Step-by-step hands-on guide to Java
We are a group of coders and programmers ourselves. So we understand the importance of learning …
book
Java By Comparison
Write code that's clean, concise, and to the point: code that others will read with pleasure …