Details

Introduction to Java Through Game Development


Introduction to Java Through Game Development

Learn Java Programming Skills by Working with Video Games

von: Victor G. Brusca

46,99 €

Verlag: Apress
Format: PDF
Veröffentl.: 24.11.2022
ISBN/EAN: 9781484289518
Sprache: englisch

Dieses eBook enthält ein Wasserzeichen.

Beschreibungen

<div>Interested in learning how to program with Java? Let’s face it, the best way to learn to program is by writing programs. This can be a daunting proposition with the specter of hours of simple command line example programs hanging over your head. Fear not! Now you can learn to program in Java in a fun way by working on video games.&nbsp;</div><div><br></div><div>With this book, you’ll get to work with three Java game projects and have access to the complete game code for each project, including a full Java game engine. After completing<i> Introduction to Java through Game Developmen</i>t, you’ll be proficient in Java programming, having worked with the language’s fundamental aspects throughout the text, and will be ready to further your Java and game programming expertise with confidence.</div><div><br></div><div><br></div><div><b>What You'll</b></div><div><ul><li>Master the fundamentals of the Java programming language</li><li>Use different data structures like arrays, lists, stacks, and queues</li><li>Understand game programming basics including the main game loop</li><li>Gain experience working with three different game projects via the book’s coding challenges</li><li>Work with the 2D game engine that powers the book's included games and learn to create your own new game projects</li><li>Understand advanced Java topics like classes, encapsulation, inheritance, and polymorphism</li><li>Work with exceptions and how to use debugging techniques to trace through code</li><li>Sharpen your skills with over a dozen coding challenges that test your abilities with a development task on a real game project</li></ul></div><div><br></div><div><b>Who This Book Is For</b></div><div><br></div><div>This book requires little to no programming experience to understand and benefit from the text.</div>
Chapter 1:&nbsp; Introduction<div>Sub –topics</div><div>• Introduction</div><div>&nbsp;o About this text</div><div>&nbsp;o Notes on formatting</div><div>&nbsp;o Notes on conventions</div><div>• The book’s objectives</div><div>&nbsp;o Java fundamental topics</div><div>&nbsp;o Java advanced topics</div><div>&nbsp;o Game projects included</div><div>• Setting up your environment</div><div>&nbsp;o Checking your Java version</div><div>&nbsp;o Installing the latest JDK</div><div>&nbsp;o Installing the NetBeans IDE</div>&nbsp;o Getting the game projects setup<div>• Checking out the games</div><div>&nbsp;o Running pong clone</div><div>&nbsp;o Running memory match</div><div>&nbsp;o Running the duel</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 2:&nbsp; What is Java Programming</div><div>Sub – topics</div><div>• Computers and programming</div><div>&nbsp;o Programming computers</div><div>&nbsp;o Programming languages</div><div>&nbsp;o Types of programs/programming</div>• The Java programming language<div>&nbsp;o A very brief history</div><div>&nbsp;o The JRE</div><div>&nbsp;o The JDK</div><div>&nbsp;o Syntax and semantics</div><div>• Game programming</div><div>&nbsp;o Program structure</div><div>&nbsp;o The game loop</div><div>&nbsp;o General structure of included games</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 3: Variables</div><div>Sub - topics:</div><div>• Data types</div><div>&nbsp;o Basic</div><div>&nbsp;o Advanced</div><div>&nbsp;o Custom</div><div>&nbsp;o Enumerations</div><div>• Using variables</div><div>&nbsp;o Declaring variables</div><div>&nbsp;o Assigning values to variables</div><div>&nbsp;o Objects, classes, instances</div><div>&nbsp;o Enumerations</div><div>&nbsp;o Casting</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 4: Expressions and Flow Control</div>Sub - topics:&nbsp;<div>• Expressions</div><div>&nbsp;o Numeric</div><div>&nbsp;o Boolean</div><div>&nbsp;o Operator precedence</div><div>• Flow control</div><div>&nbsp;o If, else, else if statements</div><div>&nbsp;o Switch statements</div><div>&nbsp;o Try-catch statements</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 5: Arrays and Data Structures</div><div>Sub - topics:&nbsp;</div><div>• Arrays</div><div>&nbsp;o Declaring arrays</div><div>&nbsp;o Initializing arrays</div><div>&nbsp;o Using arrays</div><div>• Data structures</div><div>&nbsp;o Lists</div><div>&nbsp;o Dictionaries</div><div>&nbsp;o Generic vs specialized data structures</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 6: Looping and Iteration</div><div>Sub - topics:&nbsp;</div><div>• For loops</div><div>&nbsp;o Basic for loop</div>&nbsp;o For each loop<div>• While loops</div><div>&nbsp;o Basic while loop</div><div>&nbsp;o Infinite loop</div><div>&nbsp;o Main game loop</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 7: Objects, Classes, and OOP</div><div>Sub - topics:&nbsp;</div><div>• Introduction to OOP</div><div>&nbsp;o Classes</div><div>&nbsp;o Fields</div><div>&nbsp;o Methods</div><div>&nbsp;o Constructors</div><div>&nbsp;o Static members</div><div>• Advanced class topics</div><div>&nbsp;o Access</div><div>&nbsp;o Class design</div><div>&nbsp;o Main game loop</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 8: Encapsulation, Polymorphism, and Inheritance</div><div>Sub - topics:&nbsp;</div><div>• Encapsulation</div><div>• Polymorphism</div><div>• Inheritance</div><div>• Importing class libraries</div><div>• Project structure</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 9: Debugging Techniques</div><div>Sub - topics:&nbsp;</div><div>• Basic debugging</div>&nbsp;o CLI output trace<div>• Advanced debugging</div><div>&nbsp;o IDE debugging features</div><div>• Exceptions</div><div>&nbsp;o Handling exceptions</div><div>&nbsp;o Defining your own exceptions</div><div>&nbsp;o Getting familiar with a stack trace</div><div>• Conclusion</div><div>&nbsp;o Talking points</div><div>&nbsp;o What we covered</div><div><br></div><div>Chapter 10: Conclusion</div><div>Sub - topics:&nbsp;</div><div>• Final thoughts</div><div>• High level topic review/takeaways/what we covered</div>• Where to go from here<div>• Saying bye</div>
<b>Victor Brusca</b> is an experienced software developer specializing in building cross-platform applications and APIs. He regards himself as a self-starter with a keen eye for detail, an obsessive protection of systems/data, and a desire to write well-documented, well-encapsulated code. With over 14 years' software development experience, he has been involved in game and game engine projects on J2ME, T-Mobile SideKick, WebOS, Windows Phone, Xbox 360, Android, iOS, and web platforms.
<div>Interested in learning how to program with Java? Let’s face it, the best way to learn to program is by writing programs. This can be a daunting proposition with the specter of hours of simple command line example programs hanging over your head. Fear not! Now you can learn to program in Java in a fun way by working on video games.&nbsp;</div><div><br></div><div>With this book, you’ll get to work with three Java game projects and have access to the complete game code for each project, including a full Java game engine. After completing<i>&nbsp;Introduction to Java through Game Developmen</i>t, you’ll be proficient in Java programming, having worked with the language’s fundamental aspects throughout the text, and will be ready to further your Java and game programming expertise with confidence.</div><br><div>You will:<br></div><div><ul><li>Master the fundamentals of the Java programming language</li><li>Use different data structures like arrays, lists, stacks, and queues</li><li>Understand game programming basics including the main game loop</li><li>Gain experience working with three different game projects via the book’s coding challenges</li><li>Work with the 2D game engine that powers the book's included games and learn to create your own new game projects</li><li>Understand advanced Java topics like classes, encapsulation, inheritance, and polymorphism</li><li>Work with exceptions and how to use debugging techniques to trace through code</li><li>Sharpen your skills with over a dozen coding challenges that test your abilities with a development task on a real game project</li></ul></div>
<p>Demonstrates Java programming through guided code samples and coding challenges</p><p>Covers essentials of game programming including game loops, data structures, and object-oriented programming</p><p>Includes a full 2D game API that powers the example games and that you can use to to build your own games</p>