Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

랜덤 닉네임을 생성로직을 추가합니다. #16

Merged
merged 2 commits into from
Dec 9, 2023

Conversation

K-Diger
Copy link
Collaborator

@K-Diger K-Diger commented Dec 9, 2023

랜덤 닉네임을 생성로직을 추가합니다.

Comment on lines 35 to 37
val randomAdjective = RandomWordsNickname.adjectives[Random.nextInt(RandomWordsNickname.adjectives.size)]
val randomNoun = RandomWordsNickname.nouns[Random.nextInt(RandomWordsNickname.nouns.size)]
return Nickname("$randomAdjective $randomNoun")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Collection.random() 확장함수 있을거에요

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 반영완료~!

@K-Diger K-Diger merged commit 21564e4 into develop Dec 9, 2023
1 check passed
@K-Diger K-Diger deleted the feature/nickname-generator branch December 9, 2023 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants