Sure! Here's a simple implementation of a horror game where players must run from enemies and collect bricks to temporarily stun them using JavaScript. The game will be optimized for smartphone operation and will use pictograms:
To play the game, you can copy the above code into a new HTML file and open it in a web browser. The player (represented by a pink circle) can be moved using the arrow keys on a smartphone. The objective is to collect bricks (blue squares) while avoiding enemies (red squares). When an enemy collides with the player, the game is over and the score is displayed in an alert message.