Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 271 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 271 Bytes

Honeycomb

Representing a grid is easy, it's just a two-dimensional array. How do you represent a honeycomb, though? How do you determine which cells are adjacent?

hint - It's not so hard if you keep things in a 2d array.