Learning Java Through Games (Paperback)

Lubomir Stanchev

  • 出版商: CRC
  • 出版日期: 2013-11-12
  • 售價: $3,990
  • 貴賓價: 9.5$3,791
  • 語言: 英文
  • 頁數: 388
  • 裝訂: Paperback
  • ISBN: 1466593318
  • ISBN-13: 9781466593312
  • 相關分類: Java 程式語言
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

《透過遊戲學習 Java》教導學生如何使用 Java 語言的不同特性以及如何進行程式設計。這本書適合自學或作為兩門程式設計入門課程的一部分,涵蓋了最新 Java 標準中的盡可能多的內容,並且不需要任何先前的程式設計經驗。

本書採取以應用為動機的方式,呈現了大量的遊戲。學生必須通讀整個章節,以理解實現遊戲所需的所有特性。大多數章節以遊戲的描述開始,然後根據需要介紹不同的 Java 構造來實現遊戲的特性。

本書不僅教導學生如何編寫有效的程式碼,還教導他們如何遵循良好的軟體實踐。書中的所有範例程式都力求實現低內聚和高耦合,這是設計良好的程式碼的特徵。許多程式經過多次重構,以達到易於理解、重用和維護的程式碼。

本書的第一部分涵蓋基本的程式設計技術,如條件語句、迴圈、方法、陣列和類別。第二部分則專注於更高級的主題,包括類別繼承、遞迴、排序演算法、GUI 程式設計、例外處理、檔案和小應用程式。