Yes, you have finished the game if you solved the puzzle.
Thanks for your feedback and playing the game!