Sure, here's an example of a simple puzzle game implemented as a single HTML file using JavaScript:
Puzzle Game
In this game, the puzzle pieces are represented by numbers from 1 to 9. The user can click on a puzzle piece to move it to the empty spot. The goal is to arrange the puzzle pieces in ascending order. Once the puzzle is completed, an alert will be displayed congratulating the player.
Note: This is a simplified example and can be further customized or enhanced based on your requirements.