The minimum viable product for my ChatGPT sword fight is here! I will probably improve and expand it as time goes on, but this is pretty much the base. Try it and tell me what you think!
Here are the things you need to know:
When it is your turn, type "Move: <your move>" to play. ChatGPT will summarise your move and state the stats.
When it is ChatGPT's turn, prompt it with "Your move" and it will play its move.
Positions:
- The players start in the Close Position.
- When a player uses the Retreat move, the player moves to the Far Position.
- When a player uses the Chase move (only usable when the other player is in the Far Position), the player in the Far Position is moved back to the Close Position.
Moves:
- Sword (costs 2 MP for the user only, deals 2 HP of damage, only works when the other player is in the Close Position)
- Arrow (costs 1 MP for the user only, deals 1 HP of damage, only works when the other player is in the Far Position)
- Retreat (costs 1 MP for the user only, deals no damage, moves the user into the Far Position)
- Chase (costs 3 MP for the user only, deals 2 HP of damage, only works when the other player is in the Far Position, moves the other player back to the Close Position)
- Annihilator (costs 5 MP for the user only, deals 10 HP of damage, only works when the user's HP is at 1)
Note: If you want to have a more varied and enjoyable experience, try using a varied playstyle. Change your moves up constantly, so that the AI is forced to change up its moves. Don't just sit there and spam one move over and over again. (Not that that's very easy, because ChatGPT will likely Retreat if you just spam your sword.)