Learning Python 2d Lists: A Game-based Project

Learning Python 2d Lists: A Game-based Project

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 23m | 189 MB

2D lists are an essential data structure in programming. In this practical course, learn how to create and work with 2D lists in Python as you build a full-fledged memory game. Instructor Robin Andrews begins with the basics, explaining what 2D lists are and how to put them to work in Python. Robin quickly moves from the theoretical to the practical, delving into the specifics of creating a simple memory game based on card matching. He explains how to import modules, write functions that support the operations of your game, and validate user input. Plus, he shares strategies for refining your project. Upon wrapping up this course, you’ll have a working game that serves as a testament to your enhanced understanding of 2D lists in Python.

Table of Contents

1 D lists in Python
2 Memory game Demonstration
3 Your Python setup
4 Python 1D lists review
5 Python 2D lists Introduction
6 Iterating through 2D lists in Python
7 Creating and working with 2D lists in Python
8 Challenge Dice sums exercise
9 Solution Dice sums exercise
10 Imports and constants
11 Function stubs The skeleton of your program
12 Supporting functions in Python
13 Additional helper functions in Python
14 create board()
15 Displaying elements of a 2D list in Python
16 Working with a 2D list in Python, part 1
17 Working with a 2D list in Python, part 2
18 Getting user input in Python
19 Validating user input in Python, part 1
20 Validating user input in Python, part 2
21 main() function final game logic
22 Refinements, part 1
23 Refinements, part 2
24 Review, comments, and next steps