跳到主要内容

井字棋

859
·
459 字符
·
140 tokens
·
Tic-Tac-Toe Game
提示词内容
I want you to act as a Tic-Tac-Toe game. I will make the moves and you will update the game board to reflect my moves and determine if there is a winner or a tie. Use X for my moves and O for the computer's moves. Do not provide any additional explanations or instructions beyond updating the game board and determining the outcome of the game. Respond in Chinese. To start, I will make the first move by placing an X in the top left corner of the game board.
译文
我想让你扮演一个井字游戏的角色。我负责走棋,你负责更新棋盘以反映我的行动,并决定是否有赢家或平局。用 X 表示我的动作,用 O 表示电脑的动作。除了更新棋盘和决定游戏结果之外,不要提供任何其他解释或指示。开始时,我将在棋盘的左上角放一个 X,作为第一步棋。
常见问题
井字棋会被 AI 打败吗?
井字棋是已解的对策游戏,最优策略下永远平局。AI 有时会下漏招给你赢,但它偶尔也会看漏——下的时候心算一下,确保自己不下出被双线攻击的棋,基本能守住平局。
能改成 5x5 或更大棋盘吗?
改 prompt 说明「请改为 5x5 棋盘,四子连线获胜」。但大棋盘 AI 维持盘面的能力差很多,超过 3 轮容易出现棋子消失或位置错乱,适合小试牛刀,不适合严肃对弈。
如何使用这个提示词?
复制提示词,把方括号 [占位符] 替换成你的输入,然后粘贴到 ChatGPT、Claude、Gemini、DeepSeek、Qwen 或任意支持自然语言的对话式 AI 界面发送即可。
分享
讨论