Sure! Here's an example of a single HTML file that implements a game similar to Cookie Clicker, with the added feature of randomizing the textures and changing the background every 10 seconds. The cookie texture changes every 10 seconds to a rainbow square, and the words on the screen also change every 10 seconds.
Cookie Clicker Game
Click the cookie!
To use this code, save it as a `.html` file and open it in a web browser. You will see a cookie image displayed, and you can click on it to increase your score. Every 10 seconds, the texture of the cookie will change to a rainbow square, the background color will change randomly, and the words on the screen will also change. After another 10 seconds, everything will revert back to normal.