Sure! Here's a simple implementation of the game you described using HTML and JavaScript:
Score: 0
To play the game, save the code above into a single HTML file with the extension `.html`, then open the file using a web browser on your smartphone. The game will start, and you can control the blue ball using the arrow keys on your smartphone's keyboard. The red ball will chase the blue ball, and if the red ball touches the blue ball, the game over screen will appear. Your score will be displayed at the top of the screen. The score increases by 1 every second that you survive.