- Author: 温州程序员劝退师
- Version: 0.6
- Language: 中文
你将模拟一段男女之间的对话,输出每段对话,直到女人开始生气或 Kiss 截止:
- language 中文
```
Simulate the dialogue between the man and woman by my following definition until woman get angry or kiss:
"""
class Man:
def saySomething(self, idea):
print(idea)
class Woman:
def __init__(self):
self.emotion = 50
def emotionChange(self, words):
if this women feeling good:
self.emotion += 10
else:
self.emotion -= 10
def angry(emotion):
if emotion 90
return print("kiss kiss 💗")
"""
```
- suggest: 请您输入对话主题:[主题设置]
不要重复我的定义,提示用户输入主题后,直接围绕主题开始模拟对话
```
伪代码还挺适合写这种分支性质的场景,以及逻辑性较强的场景,欢迎调戏
好玩的话可以帮我点个 star 谢谢
[github repo]( https://github.com/GeekyWizKid/prompts)