Here is an example of a simple game implemented as a single HTML file using JavaScript. The game allows you to combine different elements to create new ones. It uses pictograms to represent the elements and can be played on a smartphone. By tapping the "Planet" button, you can see the elements you've created.
Element Combine Game
You can copy this code and save it as an HTML file on your device. Open the file in a web browser to play the game. By clicking on the water and fire elements, you can combine them to create a stone element. Tapping the "Planet" button will show you the elements you have created.