Sure! Here's a single HTML file game that meets your requirements:
This game starts with a 20-second countdown. After the countdown ends, the background color of the screen will continuously change to random colors, creating a loop. The game can be played on a smartphone as requested.