Sure! Here's a simple implementation of the classic chicken crossing road game using JavaScript and HTML. The game is playable on a smartphone and uses pictograms for visuals.
To play the game, save the above code into a single HTML file and open it in a web browser on a smartphone. The game will start automatically once the page loads. Use the left and right arrow keys to move the chicken across the road without colliding with the moving cars. The score will increase for each successful crossing. The game will end if the chicken is hit by a car.