Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaeyeon1 committed Dec 14, 2024
2 parents 4c7bc7b + 89cd876 commit 01578a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async def assign_roles(self): # 각자 역할에 맞는 주제 설정
# notify to Players who pigs
self.wolfSubject = "animal" # 랜덤 주제
self.pigSubject = "pig" # 랜덤 주제

'''
for player in self.players:
if player == self.wolf: # 플레이어중 늑대인 사람에게 키워드 전달
await self.room.broadcast_to_user(player, Role(
Expand All @@ -175,6 +175,7 @@ async def assign_roles(self): # 각자 역할에 맞는 주제 설정
role = "pig",
word = self.pigSubject
))
'''

async def start_chat_round(self): # 채팅 프로세스 시작 함수
# random 랜덤으로 시작 순서 설정
Expand Down

0 comments on commit 01578a2

Please sign in to comment.