Sure! Here's an example of a simple game that meets your requirements. Please note that this is just a basic implementation and can be expanded upon for more complex functionality and features.
You would need to provide an image file named "emozi_himawari.png" in the same directory as the HTML file for the Spiderman sprite to show up correctly. The game features Spiderman as the player character, jumping with the space bar and attacking enemies using the x button. The player's and enemies' health is displayed as a health bar. The game loop continuously updates the game state and renders it on the canvas.