Поделиться

Invent-your-own-computer-games-with-python
Publisher: No Starch Press
Author: Al Sweigart
ISBN-10: 1593277954
ISBN-13: 978-1593277956
Pages: 376
Language: English
Year: 2016
File: ebook PDF

This book is for those who start programming games in Python

 

Book Description:

Create your own computer games with Python to teach you how to create computer games using the popular programming language Python — even if you have never programmed before! Start by creating classic games such as Hangman, Guess the Number and Tic-Tac-Toe, and then move on to more complex games such as a text game with a treasure hunt and an animated game with evasion from collisions with sound effects. Along the way, you will learn the key concepts of programming and mathematics that will help you take game programming to a new level.

Learn how to:

  • Combine cycles, variables and flow control statements into real work programs
  • Choose the right data structures to work with, such as lists, dictionaries and tuples
  • Add graphics and animation to your games using the pygame module
  • Keyboard and mouse handle
  • Program simple artificial intelligence so you can play against the computer
  • Use cryptography to convert text messages to secret code
  • Disable your programs and find common errors

Working on each game, you will create a solid foundation in Python and understand the basics of computer science. The projects in this book are compatible with Python 3.

Games with Python

 

Описание книги:

Создавайте свои собственные компьютерные игры на Python.

Книга научит вас программировать на Python. В каждой главе описан пример программирования, а также полный исходный код создаваемой игры. Это такие игры, как: «Угадай число», «Палач», «Крестики-нолики» и Реверси. Эта книга также содержит введение в создание 2D-графики с использованием фреймворка Pygame.

Узнайте, как:

  • Объединять циклы, переменные и операторы управления потоком в реальные рабочие программы.
  • Выбирать правильные структуры данных для работы, такие как списки, словари и кортежи
  • Добавлять графику и анимацию в свои игры с помощью модуля pygame
  • Использовать клавиатуру и мышь
  • Программировать простой искусственный интеллект, чтобы играть против компьютера
  • Использовать криптографию для преобразования текстовых сообщений в секретный код
  • Отключать ваши программы и находить распространенные ошибки

Работая над каждой игрой, вы создадите прочную основу в Python и разберетесь в основах информатики. Проекты в этой книге совместимы с Python 3.

Games with Python

 

  • Acknowledgments
  • Introduction
  • Chapter 1: The Interactive Shell
  • Chapter 2: Wri ting Programs
  • Chapter 3: Guess the Number
  • Chapter 4: A Joke-Telling Program
  • Chapter 5: Dragon Realm
  • Chapter 6: Using the Debugger
  • Chapter 7: Designing Hangman with Flowcharts
  • Chapter 8: Wri ting the Hangman Code
  • Chapter 9: Extending Hangman
  • Chapter 10: Tic-Tac-Toe
  • Chapter 11: The Bagel s Deduction Game
  • Chapter 12: The Cartesian Coordinate System
  • Chapter 13: Sonar Treasure Hunt
  • Chapter 14: Caesar Cipher
  • Chapter 15: The Reversegam Game
  • Chapter 16: Reversegam AI Simulation
  • Chapter 17: Creating Graphics
  • Chapter 18: Animating Graphics
  • Chapter 19: Collision Detection
  • Chapter 20: Using Sounds and Images
  • Chapter 21: A Dodger Game with Sounds and Images
  • Index

Games with Python

Top Games made with pygame — Лучшие игры, сделанные с Pygame

Pygame (site) is a set of Python programming language modules designed for writing computer games and multimedia applications.

Pygame wiki

Game Reversi

Reversi-ai — teach a computer to play against you in reversi

Reversi-ai — научите компьютер играть против вас в реверси

PDF          PDF     

 

https://www.htbook.ru/wp-content/uploads/2023/03/Invent-your-own-computer-games-with-python.jpghttps://www.htbook.ru/wp-content/uploads/2023/03/Invent-your-own-computer-games-with-python-130x200.jpgPython Game DevelopmentAl Sweigart,No Starch Press,PythonPublisher: No Starch Press Author: Al Sweigart ISBN-10: 1593277954 ISBN-13: 978-1593277956 Pages: 376 Language: English Year: 2016 File: ebook PDF This book is for those who start programming games in Python   Book Description: Create your own computer games with Python to teach you how to create computer games using the popular programming language Python - even if you have...Библиотека технической тематики. Техническая литература

Поделиться