Introduction to Java Through Game Development: Learn Java Programming Skills by Working with Video Games

Brusca, Victor G.

商品描述

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.
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 Introduction to Java through Game Development, 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.

What You'll

  • Master the fundamentals of the Java programming language
  • Use different data structures like arrays, lists, stacks, and queues
  • Understand game programming basics including the main game loop
  • Gain experience working with three different game projects via the book's coding challenges
  • Work with the 2D game engine that powers the book's included games and learn to create your own new game projects
  • Understand advanced Java topics like classes, encapsulation, inheritance, and polymorphism
  • Work with exceptions and how to use debugging techniques to trace through code
  • Sharpen your skills with over a dozen coding challenges that test your abilities with a development task on a real game project


Who This Book Is For
This book requires little to no programming experience to understand and benefit from the text.

商品描述(中文翻譯)

有興趣學習如何使用Java編程嗎?面對事實吧,學習編程的最佳方式就是寫程式。對於初學者來說,這可能是一個令人生畏的建議,因為你需要花費大量時間來寫簡單的命令行示例程式。但不用擔心!現在你可以通過製作視頻遊戲的方式來有趣地學習Java編程。

這本書將讓你參與三個Java遊戲項目的開發,並提供每個項目的完整遊戲程式碼,包括一個完整的Java遊戲引擎。在完成《通過遊戲開發入門Java》後,你將精通Java編程,並在整本書中學習了該語言的基本概念,準備好以自信的姿態進一步提升你的Java和遊戲編程技能。

你將學到以下內容:

- 掌握Java編程語言的基礎知識
- 使用不同的數據結構,如數組、列表、堆棧和隊列
- 理解遊戲編程的基礎知識,包括主遊戲循環
- 通過書中的編程挑戰,獲得在三個不同遊戲項目上的實踐經驗
- 使用書中提供的2D遊戲引擎,並學習創建自己的新遊戲項目
- 理解高級Java主題,如類、封裝、繼承和多態性
- 學習處理異常以及如何使用調試技巧來追蹤程式碼
- 通過十幾個編程挑戰來提升你的技能,這些挑戰將測試你在實際遊戲項目的開發任務中的能力

這本書適合以下讀者:

- 不需要或只需要很少的編程經驗即可理解和受益於本書的內容。

作者簡介

Victor Brusca 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.

作者簡介(中文翻譯)

Victor Brusca 是一位經驗豐富的軟體開發人員,專注於建立跨平台應用程式和 API。他自認為是一個自我啟動者,對細節非常敏銳,對系統/資料的保護有著執著的追求,並且渴望撰寫有良好文件化和封裝的程式碼。擁有超過14年的軟體開發經驗,他參與過J2ME、T-Mobile SideKick、WebOS、Windows Phone、Xbox 360、Android、iOS和網頁平台的遊戲和遊戲引擎專案。