A simple looking game to play but the code got a little complex when generating the board. You see there are combinations of tiles that are unwinnable. (I know seems strange, but true).
See here for further details:
https://mathworld.wolfram.com/15Puzzle.html
This puzzle was written in Godot 3.2
Web Version:
http://hazlema.us/dist/tilegame