Skip to content

Commit

Permalink
Merge branch 'refs/heads/feature/DRAW-265' into sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwoongH committed Aug 26, 2024
2 parents c3247cb + 5abab62 commit 87fadf2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ internal class MafiaPhaseEndGameProcessor(
val keyword = endPhase.keyword

endPhase.isMafiaWin = endPhase.answer?.let {
keyword.answer.lowercase() == it.lowercase() // TODO 동의어 처리
val trimmedAnswer = keyword.answer.replace(" ", "")
val trimmedMafiaAnswer = it.replace(" ", "")

trimmedAnswer.lowercase() == trimmedMafiaAnswer.lowercase() // TODO 동의어 처리
} ?: false
}
}

0 comments on commit 87fadf2

Please sign in to comment.