Sure, here's a simple implementation of Flappy Bird as a single HTML file using JavaScript:
To play the game, you can copy the above code into a blank HTML file and open it in a web browser on your smartphone. Simply tap anywhere on the screen to make the bird jump and avoid collision with the green boxes and the floor. When you collide, the game will end and you can tap again to restart. The score is displayed on the top-left corner of the canvas.