ylegall/Lytes

Hexagonal Grid

Closed this issue · 1 comments

Implement and Hexagonal Grid system to make the game more interesting. It should still follow the same rules where all neighboring tiles will be toggled.

Notes:
*Alternating rows should have 1 less tile to retain a rectangular layout.

  • Extended the Base Grid class to include some abstract methods that would be unique for each grid.
  • Modified the existing SquareGrid to utilize the Base Grid class.
  • Created a HexGrid class to implement the hexagonal game board. There still needs to be some tweaks to the graphics or draw postions to get the hex tiles to butt up against each other. All other logic should be complete.

Closed by 0e00fcf
Closed by 0e00fcf