Sure! Here's a simple text-based game inspired by Five Nights at Freddy's (FNaF) that you can play within a single HTML file. Since you mentioned using pictograms, I'll use ASCII art to represent characters from the game. This game assumes smartphone operation. Please note that this is a simplified version and does not contain any visuals or complex gameplay mechanics.
To play the game, simply copy the above code into an HTML file and open it in a web browser on your smartphone. Each night, a random animatronic character will be displayed, and you have to survive until reaching the fifth night. Once you reach the game over condition, a message will be displayed with the number of nights you survived.
Remember, this is just a basic text-based version, and it doesn't include the full gameplay mechanics found in the actual Five Nights at Freddy's game.