Sure, here's an example of a single HTML file containing JavaScript code to create a simple game similar to "Friday Night Funkin'" using pictograms. Since it's a text-based game, it should work in any modern browser, including smartphones. Please note that this is a simplified implementation to serve as an example.
Friday Night Funkin' Game
To play the game, visit the file in any web browser, and the game screen will be displayed. You can click on the "Rock," "Paper," or "Scissors" buttons to make your choice. The opponent's choice will be randomly determined, and the winner will be displayed below the buttons. The opponent's and your choice will be represented using pictograms (symbols).