2.11 Veilig te installeren
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 :)
Overzicht
Пишем игры на Python, часть 2 is Freeware software in de categorie Onderwijs ontwikkeld door Viktor Trofimov.
De nieuwste versie van Пишем игры на Python, часть 2 is 2.11, uitgegeven op 18-09-2024. Het werd aanvankelijk toegevoegd aan onze database op 18-09-2024.
Пишем игры на Python, часть 2 draait op de volgende operating systems: Android.
Gebruikers van Пишем игры на Python, часть 2 gaven het een beoordeling van 5 op 5 sterren.
Nieuwste updates
AP Human Geography Test 2025 1.0
The AP Human Geography Test 2025 preparation app, developed by an independent third party, offers a comprehensive resource tailored for students and geography enthusiasts.Bennett Test - Prepare Bennet 1.1
The Bennett Test application offers an extensive resource for individuals preparing for the Bennett Mechanical Comprehension Test, which is widely utilized by employers to assess mechanical reasoning abilities.ClipRingo:Clip Your Ringtone 1.0.3
Transforming your music into personalized ringtones has never been easier, thanks to TrimTune. This innovative application allows users to extract audio clips from videos and songs, creating custom ringtones with remarkable precision.Solvion 1.0.2
In an era where visual art continually evolves, Solvion presents a unique approach to photography that elevates images into a new dimension of creativity.Sako 1.0.1
Sako presents itself as an innovative AI chat application that aims to enhance the communication experience for its users.Anx Reader 1.4.4
The Ultimate Reading Companion This reader app offers an innovative approach to digital reading, appealing to those who appreciate both aesthetic appeal and practical functionality.Laatste nieuws
Recente beoordelingen
e!Sankey
Visualiseer uw gegevens met precisie met behulp van e! Sankey |
|
![]() |
Nero Platinum
Nero Platinum: een uitgebreide multimedia-oplossing |
Universal File Organizer
Stroomlijn uw digitale leven met Universal File Organizer |
|
ALShow
ALShow: een gratis en gebruiksvriendelijke mediaspeler |
|
Allok 3GP PSP MP4 iPod Video Converter
Transformeer uw video's met Allok 3GP PSP MP4 iPod Video Converter! |
|
![]() |
Microsoft SQL Server 2008 R2 Data-Tier Application
Efficiënt gegevensbeheer met Microsoft SQL Server 2008 R2 Data-Tier-toepassing |
![]() |
UpdateStar Premium Edition
Uw software up-to-date houden is nog nooit zo eenvoudig geweest met UpdateStar Premium Edition! |
![]() |
Microsoft Visual C++ 2015 Redistributable Package
Verbeter de prestaties van uw systeem met Microsoft Visual C++ 2015 Redistributable Package! |
![]() |
Microsoft Edge
Een nieuwe standaard in surfen op het web |
![]() |
Google Chrome
Snelle en veelzijdige webbrowser |
![]() |
Microsoft Visual C++ 2010 Redistributable
Essentieel onderdeel voor het uitvoeren van Visual C++-toepassingen |
![]() |
Microsoft Update Health Tools
Microsoft Update Health Tools: zorg ervoor dat uw systeem altijd up-to-date is! |