Conversation
minneee
reviewed
Aug 27, 2025
minneee
left a comment
There was a problem hiding this comment.
현재 프로젝트에서는 동시성 문제를 제어해야할 상황이 없는 것 같은데 actor와 async/await을 사용한 이유가 있으신가요?
| import Foundation | ||
| import Combine | ||
|
|
||
| actor GameManger { |
Contributor
Author
차후에 동시성을 사용 할꺼여서 미리 작업을 해놓았습니다 |
Peter1119
approved these changes
Aug 27, 2025
Comment on lines
+22
to
+25
| var pool = Array(1...9) | ||
| pool.shuffle() | ||
| #logDebug("랜덤 숫자", Array(pool.prefix(digits))) | ||
| return Array(pool.prefix(digits)) |
Contributor
Author
There was a problem hiding this comment.
@Peter1119 그건 지금 단계에서는 요구 사항이 아니어서
정답은 랜덤으로 만듭니다.(1에서 9까지의 서로 다른 임의의 수 3자리)
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ 작업 내용