←
Slides
/
Live Output
Day 1
Day 2
Day 3
Day 4
Day 1 — How Games Store Data
</> View code
What to test
1
Arrow keys do nothing yet — that's Day 2
2
Check every row has exactly 21 numbers
3
All outer border cells must be 1 (wall)
New concepts
const vs let
2D array: maze[row][col]
Nested for loop (rows × cols)
Pixel conversion: x = col * TILE_SIZE
fill() + rect() + circle()