Replaces the image of a jigsaw puzzle with a predictable, (theoretically) easier-to-solve design.
- Begin a Jigidi puzzle.
- Run the code in your browser debug console.
- Restart the puzzle by pressing the Restart button in the Jigidi sidebar.
- The puzzle will be replaced with a predictable patterned one.
The predictable pattern has a number of features that make it easier to solve that most other jigsaws:
- Each piece has two numbers printed on it: the first is the row in which it belongs, the second is the column, making it possible to identify the exact location that a given piece belongs in.
- Each column is a different colour, streamlining presorting.
- Rows within a column alternate between lighter and darker variants ("striping").
- Stripes of alternating thickness and a cycle of colours form long horizonal and vertical bands across the image, streamlining identification.
- No information is sent back to the server to indicate that the puzzle has been tampered with.
In this code, how do I remove the first number before the decimal point from the puzzles?
![2023-08-08_152801](https://user-images.githubusercontent.com/107910762/259098164-d7f4816d-f670-4178-ab69-2b371b3588c6.png)
So that 2,10 becomes just 10?