Sure! Here's a simple game that meets your requirements:
To use this game, you'll need to have image files for each jumpscare stored in a folder named "images" in the same directory as the HTML file. Make sure to adjust the image URLs in the `jumpscares` array to match the actual file names and extensions.
When the page loads, a random jumpscare will be displayed on the screen. Clicking on the jumpscare image will hide it, allowing you to play the game again and see a different jumpscare each time.
Please note that this is a basic implementation, and you can customize and expand it further based on your specific requirements.