Sure, I can help you create a simple horror AI computer game implemented as a single HTML file with JavaScript code enclosed in script tags. Please note that this will be a very basic implementation, as per your requirements. Here's an example code:
Horror AI Game
In this example, the code sets up a basic game canvas, creates a player and a ghost object, handles player movement based on key presses, moves the ghost around the canvas, checks for collisions, and restarts the game if the player collides with the ghost. The game loop is implemented using `requestAnimationFrame` to continuously update the game state and redraw the canvas.
Please note that this is a very basic implementation and can be expanded upon to create a more complex horror AI game from the 1990s.