Skip to content

yuwash/jigsaw-puzzle

Repository files navigation

Jigsaw Puzzle

Simple jigsaw puzzle game (currently very rudimental)

What it already can

  • It recognizes when all tiles are put to the right cell
  • Easy to configure for any grid size
  • Supports SVG and any image type that SVG.Image supports
  • Example image can be conveniently loaded by URL
  • Works with any screen width (though changing the screen width mid-game is buggy)

What’s to be done next

  • Snap tiles on the grid when placed correctly
  • Reset tile positions when loading new image