Sure! Here's an example of a simple FPS horror game about Call of Duty: Ghosts implemented in a single HTML file using JavaScript:
This game will display a simple canvas with a green square representing the player and a red square representing the ghost. The player can control their movement using the arrow keys, and the ghost will move randomly. You can further enhance the game by adding more features such as sound effects, levels, or additional gameplay mechanics.