2d Lists in Python – A Game Based Project

Price on external site

A fun course to learn about the important 2d list data structure in Python

2-dimensional lists are an extremely important data structure in Python programming.

Example Applications of 2d Lists in Python

  • Representing grids e.g. pixels
  • Game boards
  • Matrices for mathematical applications
  • Representing tabular data, like in a spreadsheet
  • Storing and accessing data from scientific experiments
  • Accessing DOM elements for web development
  • Understanding pandas dataframes
  • Paving the way for higher-dimensional lists

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.

Please note this is an affiliate product meaning I will receive a commission if you make a purchase using a link on this page.

Join our mailing list

Join our mailing list to receive awesome articles about learning Python and Computer Science in a fun and accessible way, straight to your inbox.