Slides/Live Output
Day 1Day 2Day 3Day 4
Day 1How Games Store Data
</> View code
What to test
  • 1Arrow keys do nothing yet — that's Day 2
  • 2Check every row has exactly 21 numbers
  • 3All 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()