Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Collections (2016, retired 2019) Dungeon Game Dungeon Entrance

About CELLS

Just a helpful note to others about the CELLS list:

3 Answers

Oops, rather (4, 4) is (column 5, row 5) since we start with (0, 0).

So think of (4, 4) as (column 4, row 4) in a spreadsheet.

Don't think of these tuples as on a X & Y axis (Cartesian coordinate system). Be sure to think of them as rows and columns. i.e. (4, 4) is like row 4 in column D of a spreadsheet... NOT the coordinate x = 4, y = 4. Don't get confused like I did!

Binyamin Friedman
Binyamin Friedman
14,615 Points

I disagree. I think for movement purposes and calculations, it is much easier to think of them as a coordinate system of whole numbers.