nmorduch/lights-out

Allow board size input

Closed this issue · 0 comments

  • Make the board construction for loops go to a variable rather than 5
  • Set that variable to 5 by default
  • Make board construction a function that takes a variable
  • Allow input of new dimensions.
    • Probably only after you win a game, to preserve the cleanness of the opening.
    • Alternatively, there could just be a little settings thing in the corner, which allows restart and size change. It could appear after the board fades in
  • Check that those dimensions are integer values
    • Or, take the floor
  • Reconstruct the board when those values are changed

Later on:

  • Save a cookie with preferred board size?