2.11 An toàn để cài đặt
Programming games, creating from scratch: for children and teenagers, as well as their parents and teachers! Part two. Designed for a wide range of readers and programming learners. Examples using Tkinter - building modern window interfaces.
Recommended age: 13 years and older after studying the first part of the material.
Writing games: learning programming in Python 3 through the writing of simple games that demonstrate programming capabilities.
This part focuses on learning data structures as a tool for processing information programmatically. Characters, strings, one-dimensional and two-dimensional lists, algorithms for processing them, encryption, recursion, data sorting. Bonus: quicksort algorithm and long arithmetic.
Why this textbook in particular? I have been teaching computer science for almost two decades and have encountered one annoying thing. Most materials intended to "teach programming" do not actually teach but are rather language reference guides: syntax, functions, results. Even if we learn the entire Russian-English dictionary, we won't speak English. Because speaking requires knowing a thousand nuances: tenses, declensions, using pronouns and prepositions, etc.
In this textbook, I not only talk about the Python 3 language but also guide the reader through reasoning, logical conclusions, answering not only the question "With what?" but also "For what?" and "Why?" All theory is immediately reflected in practice.
MATERIAL STRUCTURE:
- basic information about characters, strings, lists;
- algorithms built using recursion;
- long arithmetic;
- programmer's tricks and traps: you can't cheat fate, but you can lighten the load (and should);
- games: this part presents four games:
- "Guess the Word" - a game where the user tries to guess a themed word by selecting one letter at a time in a limited number of attempts.
- "Fifteen Puzzle" - a puzzle from my Soviet childhood where there is only one free square on a 4x4 grid. You need to cleverly move numbered tiles from 1 to 15 to reach a specific sequence. By the way, this puzzle has quite a few years under its belt.
- "Space Invaders" (c) (tm), etc. The famous game with alien invaders; we will have a light version implemented using Tkinter. You can create something more impressive on your own. One publication ranked Space Invaders first among space shooters.
- "Sokoban" - warehouse keeper simulator. We will look at the principles of building labyrinth games in a 2D perspective (top-down view).
The presented algorithms aim to foster:
- understanding how processors work;
- practical ability to create and write algorithms in a language;
- ability to process data using Python tools;
- ability to use modern high-level language features;
- ... and promote creative leisure activities.
You will find:
- algorithms for processing data structures;
- practical advice and observations based on years of experience;
- stages of algorithm design for games;
- description of Tkinter library operation with practical examples;
- tests for practicing understanding Python code.
If you enjoyed the application, please rate it and leave a comment. It greatly motivates me to continue working :)
Tổng quan
Пишем игры на Python, часть 2 là một Phần mềm miễn phí phần mềm trong danh mục Giáo dục được phát triển bởi Viktor Trofimov.
Phiên bản mới nhất của Пишем игры на Python, часть 2 là 2.11, phát hành vào ngày 18/09/2024. Vào lúc đầu, nó đã được thêm vào cơ sở dữ liệu của chúng tôi trên 18/09/2024.
Пишем игры на Python, часть 2 đã chạy trên hệ điều hành sau: Android.
Người sử dụng của Пишем игры на Python, часть 2 đánh giá xếp hạng 5 trong số 5 sao.
với phần mềm UpdateStar miễn phí.
Đánh giá mới nhất
![]() |
Telegram Desktop
Nhắn tin an toàn và chia sẻ tệp với Telegram Desktop. |
![]() |
EASEUS Partition Master Home Edition
EASEUS Partition Master Home Edition: Phần mềm quản lý phân vùng hiệu quả |
![]() |
UltraViewer
Phần mềm máy tính từ xa hiệu quả để cộng tác mượt mà |
![]() |
Software Informer
Luôn cập nhật thông tin với Software Informer |
![]() |
UzCrypto
Ứng dụng quản lý danh mục đầu tư và ví tiền điện tử an toàn |
![]() |
Quick Access Service
Truy cập dễ dàng vào các công cụ thiết yếu với dịch vụ truy cập nhanh của Acer Incorporated |
![]() |
UpdateStar Premium Edition
Giữ cho phần mềm của bạn được cập nhật chưa bao giờ dễ dàng hơn với UpdateStar Premium Edition! |
![]() |
Microsoft Edge
Một tiêu chuẩn mới trong duyệt web |
![]() |
Google Chrome
Trình duyệt web nhanh và linh hoạt |
![]() |
Microsoft Visual C++ 2015 Redistributable Package
Tăng hiệu suất hệ thống của bạn với Microsoft Visual C++ 2015 Redistributable Package! |
![]() |
Microsoft Visual C++ 2010 Redistributable
Thành phần cần thiết để chạy các ứng dụng Visual C++ |
![]() |
Microsoft OneDrive
Hợp lý hóa việc quản lý tệp của bạn với Microsoft OneDrive |