1
Kiting
Keeps its distance and shoots. Get close and it backs off.
prompt.txt774 chars
Make my enemy kite the player: it keeps 4 to 6 body lengths away, backing off when the player comes closer and following when they leave, and fires a bullet at the player about once a second while in range.
Feel: It never lets the player get close, and never stops harassing them.
Bullets are small separate objects that fly straight at 1.5 times the player's speed and disappear off screen.
If the player or the enemy is missing, add plain colored squares (player at the left-middle of the screen, enemy at the upper right); the player moves with WASD or the arrow keys.
Use my project's own speeds and sizes. If it has none: the player crosses the screen in 2.5 seconds, the enemy moves at 90% of that, bodies are 1/16 of the screen height.
Keep it frame-rate independent.Works with any AI coding tool. Paste it into your project and run.

