My second ChatGPT game.
I will note any changes I made to its code but otherwise, all code and comments were created by ChatGPT with prompts in order listed.
Prompts:
- Pico-8 basic game code
- Add player using pset, with movement control
- Add enemy at random spot at the edge of the screen, enemy should attack player within 30 pixels
- Player shoots at enemy using pset
- Enemy moves toward middle of screen
- What should I add to my game?
- It told me to add player and enemy health text display and something to happen when player or enemy dies
- Add health display
- How can I improve this code?
- It said:
- Add more enemy types, each with their own behavior and appearance. For example, you could add a faster enemy that moves towards the player even if they are not close, or a stronger enemy that takes more hits to defeat.
- It said:

