В категории материалов: 43
Показано материалов: 1-10
Computer Science 12 (advanced), version 2019 |
Computer Science 11 (advanced), version 2019 |
Python. Списки. Функции и методы
- Описание
- Примеры
- Вопросы
- Упражнения
- Задачи
11.2.3.3 применять функции и методы для обработки списков |
2D arrays
- Definition
- Create 2D Array
- 2D iteration
- Examples
- Questions
- Exercises
- Tasks
11.5.2.1 use the technical terms associated with arrays including upper and lower bounds
11.5.2.3 write program code using 1D and 2D arrays |
Python. Строки. Функции и методы
- Функции/Методы
- Описание
- Примеры
- Вопросы
- Упражнения
- Задачи
11.2.2.3 применять функции и методы обработки строк |
Module PyGame. Object collisions
- Definition
- Checking if a point of one object is in the rectangle of another object
- collide() methods in pygame.Rect
- colliderect(Rect)
- collidepoint(x, y)
- collidelist(list)
- Questions
- Exercises
- Tasks
12.5.3.6 check the relative position of objects on the screen. |
Module PyGame. Graphic text. Counter of game
- How to output text in pygame
- How to input text in pygame
- Examples
- Task 1 Output text
- Task 2 Animated text
- Task 3 Text movement
- Task 4 Click counter
- Task 5 Input name
- Questions
- Exercises
- Tasks
12.5.2.4 display graphic text on the screen
12.5.3.7 implement an algorithm for calculating game results |
Python. PyGame. Keyboard events
- Keyboard events
- Keyboard events attribute
- Check key down
- Task 1
- Task 2
- Using keyboard shortcuts
- Questions
- Exercises
- Tasks
12.5.3.4 control characters with the keyboard. |
Python. PyGame. Mouse events
- Mouse events
- Mouse clicks
- Cursor position
- Task 1
- Task 2
- Drag and drop
- Questions
- Exercises
- Tasks
12.5.3.3 control characters with the mouse. |
Python. PyGame. Loading and animation pictures
- Loading pictures
- How to load the picture
- How to determine the size of the surface
- Creating a background for race
- Add car movement
- Questions
- Exercises
- Tasks
12.5.3.1 code the movement of graphic objects |