🚶
🔪
🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵🌵
This is the implementation of the stickman chase game as a single HTML file with JavaScript included. The player is a stickman being chased by another stickman with a knife. The stickman must jump over spikes to avoid getting killed by them. If the player survives for 5 minutes, they win the game.
The game is designed to be played on a smartphone, and the player can control the stickman by tapping on the screen. The game makes use of emojis to add a fun and playful element.
The game uses CSS animations to animate the stickman, knife, and spikes. JavaScript is used to move the stickman when the player taps the screen, check if the stickman collides with the knife, check if the stickman jumps over the spikes, and implement a countdown timer for the game. If the stickman collides with the knife or the spikes, the player loses the game and if the player survives for 5 minutes, they win the game.