knispeja / WitnessGenerator

Generates puzzles similar to those in The Witness
MIT License
1 stars 0 forks source link

Puzzle should scale to screen size #18

Closed knispeja closed 5 years ago

knispeja commented 5 years ago

Should be able to simply call reset and draw_puzzle again on window resize. Becomes more complicated if the user is currently drawing a path, though.

knispeja commented 5 years ago

Puzzle now scales to the size of the screen on load, but will not adjust with the window without a refresh. This will be significantly harder, easier to regenerate the whole puzzle when the window is resized and figure out the path afterwards