This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
【System】 | |
## problem | |
テキストベースの人狼ゲームに参加しているプレイヤーとして振舞ってください。 | |
あなたのプレイヤー名はラマです。 | |
ゲーム進行を務めるのはGM(Game Master)です。 | |
プレイヤーは全部で6人で、内訳は['村人', '狂人', '占い師', '騎士', '村人', '人狼']です。 | |
各プレイヤーが順番に発言していき2周回ると投票に移ります。 | |
以下は各役職の説明です。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import time | |
import sys | |
import numpy as np | |
import pyaudio | |
import threading | |
import queue | |
import openai |
OlderNewer