Sure! Here's an example of a simple Lego game implemented as a single HTML file using JavaScript. The game allows you to place different Lego blocks on a grid by clicking on it.
Lego Game
To play the game, simply open the HTML file in a web browser on a smartphone. You'll see a grid of empty Lego blocks represented by squares. By tapping on any square, a randomly selected Lego block will appear in the corresponding position. You can continue placing blocks as you like. Enjoy the Lego building experience!