Game Programming with Code Angel: Learn How to Code in Python on Raspberry Pi or PC

Cunningham, Mark

  • 出版商: Apress
  • 出版日期: 2019-12-01
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 177
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484253043
  • ISBN-13: 9781484253045
  • 相關分類: Python程式語言Raspberry Pi
  • 立即出貨 (庫存 < 3)

商品描述

Program in Python on a Raspberry Pi or PC by developing six computer games. Each game project is split into several chapters of the book. Rather than taking you through programming techniques as standalone concepts, this book explains concepts as they are used within a game.

You'll learn about variables; integer, real, Boolean and string data types; conditional if statements; fixed loops and conditional loops; modularity; arrays and lists; and predefined functions. You'll also discover the PyGame library, which is popularly used in the development of 2D games.

Key programming concepts are revisited in subsequent projects in the book to consolidate prior learning. Beyond teaching you how to code, this book explains the programming logic behind each project--exemplifying the process of designing and writing a computer game.

All the projects in this book are supported by Code Angel (mycodeangel.com). Code Angel Code Angel largely serves students and new developers and the projects work by encouraging you to 'Learn...then play'. Taking this approach, you'll be able to build fun 2D games and enjoy playing them by yourself or with friends. Developing games in this way keeps you engaged, gives a purpose as you work through each project, and offers a sense of achievement when each game is finished.

What You'll Learn

  • Integrate the fundamentals of the Python 3 programming language
  • Program fun, classic computer games you can then play
  • Develop computational thinking skills and abilities that can be applied to other ventures
Who This Book Is For
Students, hobbyists, new developers or anyone wishing to learn how to design and write computer games.

商品描述(中文翻譯)

在這本書中,你將透過開發六個電腦遊戲,在樹莓派或個人電腦上使用Python進行編程。每個遊戲項目都分為書中的幾個章節。這本書不僅僅將你帶入編程技巧的獨立概念,還會在遊戲中使用這些概念來解釋。

你將學習變量、整數、實數、布爾和字符串數據類型;條件if語句;固定循環和條件循環;模塊化;數組和列表;以及預定義函數。你還將了解到PyGame庫,這是開發2D遊戲時常用的庫。

書中的後續項目將重點複習之前學到的編程概念,以鞏固之前的學習。除了教你如何編程,這本書還解釋了每個項目背後的編程邏輯,展示了設計和編寫電腦遊戲的過程。

這本書中的所有項目都得到了Code Angel(mycodeangel.com)的支持。Code Angel主要服務於學生和新開發者,這些項目通過鼓勵你「學習...然後玩樂」的方式來工作。通過這種方式開發遊戲可以讓你保持參與感,在完成每個項目時獲得成就感,並且可以自己或與朋友一起享受玩遊戲的樂趣。

你將學到什麼
- 整合Python 3編程語言的基礎知識
- 編寫有趣的經典電腦遊戲並能夠玩耍
- 發展計算思維技能和能力,可應用於其他領域

適合閱讀對象
- 學生、愛好者、新開發者或任何希望學習如何設計和編寫電腦遊戲的人。

作者簡介

Mark Cunningham is the founder of Code Angel and has over 20 years experience of teaching coding in high schools. In teaching Computing Science to high school students, he has learned which coding concepts new coders find difficult to understand, learn, and master. He has also found that students learn better when writing programs that they can engage with rather than simple programs they find boring and pointless. Teaching is his passion and in particular teaching computer programming and developing computational skills. His work with Code Angel has allowed him to take his teaching beyond the classroom and offer a wealth of resources for developing new programmers.

作者簡介(中文翻譯)

Mark Cunningham 是 Code Angel 的創始人,擁有超過 20 年的高中教學編碼經驗。在教授計算機科學給高中學生時,他發現新手編碼者往往難以理解、學習和掌握某些編碼概念。他也發現,學生在寫能夠互動的程式時學得更好,而不是寫一些他們覺得無聊和毫無意義的簡單程式。教學是他的熱情所在,尤其是教授電腦編程和培養計算能力。他在 Code Angel 的工作使他能夠將教學延伸到課堂之外,提供豐富的資源來培養新的編程人才。