headbreaker
headbreaker copied to clipboard
:jigsaw: :exploding_head: Jigsaw puzzles framework for JavaScript
While working on issue #22 I noticed something. When _onConnect(piece, figure, target, targetFigure)_ is executed, piece is always the piece with the lowest ID and target is always the one...
Hi. First of all, nice framework, a bit to much for me, don't understand the code or better how it all combines - modules confuse me ;). I was trying...
Hi, I was wondering if there's a way we can lock the pieces when dragging them? For example, I have three pieces of the puzzle solved. Dragging one of the...
Bumps [terser](https://github.com/terser/terser) from 4.7.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Hey @flbulgarelli, Sorry for asking but what would be an easy way to validate the pieces in a basic scenario with an image and autogenerating the pieces. For example I...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.0 to 4.2.2. Changelog Sourced from browserify-sign's changelog. v4.2.2 - 2023-10-25 Fixed [Tests] log when openssl doesn't support cipher [#37](https://github.com/crypto-browserify/browserify-sign/issues/37) Commits Only apps should have lockfiles 09a8995...
**Describe the solution you'd like** Would be great if the types generated via `tsd-jsdoc` were published as a part of the npm package. **Additional context** The type for the root...
**Is your feature request related to a problem? Please describe.** In real world jigsaw puzzles each piece is slightly different so just by (shape/size/connections position and size) you can tell...
### Discussed in https://github.com/flbulgarelli/headbreaker/discussions/87 Originally posted by **Kanchana-Sara** June 5, 2024 Hi i'm doing puzzle game. So my aim is to snap the piece to the target position during dragend...