Sure! Here's a sample game called "Merge Game" implemented as a single HTML file, including JavaScript, enclosed in script tags. The game involves merging numbers to reach a target number.
Merge Game
To play the game, you can simply copy the above code and save it as an HTML file. The game can be played on a smartphone or desktop browser. The objective is to merge the numbers on the board by swiping in different directions (up, down, left, right) to reach the target number of 2048. The score increases every time numbers are merged.