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

[Wordle] 애쉬(김동호) 미션 제출합니다. #6

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

dongho108
Copy link

No description provided.

Copy link

@cjlee38 cjlee38 left a comment

Choose a reason for hiding this comment

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

안녕하세요 애쉬~ 처음 보는 코드들이 많네요. 배워갑니다 :) 고생하셨어요

src/main/kotlin/wordle/Application.kt Outdated Show resolved Hide resolved
src/main/kotlin/wordle/domain/Game.kt Outdated Show resolved Hide resolved
src/main/kotlin/wordle/domain/Game.kt Show resolved Hide resolved
src/main/kotlin/wordle/domain/Game.kt Outdated Show resolved Hide resolved

private fun isRightSize(): Boolean = value.length == SIZE

private fun isAlphabet(): Boolean = Regex("^[a-zA-Z]*$").matches(value)
Copy link

Choose a reason for hiding this comment

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

찾아보니 char 타입에 isLetter 라는 메소드가 있네요~ 이걸 활용해보면 어떨까요 ?

Copy link
Author

Choose a reason for hiding this comment

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

isLetter는 한글도 letter로 인식하네요..ㅠㅠ

Copy link

Choose a reason for hiding this comment

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

아하 그렇군요. 저번 시간에 배운 확장함수를 이용해보는 것도 재밌을 것 같아요 👍

Copy link
Author

Choose a reason for hiding this comment

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

확장함수 적용해봤어용

Copy link

@cjlee38 cjlee38 left a comment

Choose a reason for hiding this comment

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

안녕하세요 애쉬~ 리뷰 반영하신 것 잘봤습니다! 추가적으로 저희가 배운 내용들을 더해서 리뷰 남겨봤으니 확인해주시면 감사하겠습니다 :)

src/main/kotlin/wordle/domain/Game.kt Outdated Show resolved Hide resolved
src/main/kotlin/wordle/domain/Game.kt Outdated Show resolved Hide resolved

private fun isRightSize(): Boolean = value.length == SIZE

private fun isAlphabet(): Boolean = Regex("^[a-zA-Z]*$").matches(value)
Copy link

Choose a reason for hiding this comment

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

아하 그렇군요. 저번 시간에 배운 확장함수를 이용해보는 것도 재밌을 것 같아요 👍

src/main/kotlin/wordle/domain/GameResult.kt Outdated Show resolved Hide resolved
src/main/kotlin/wordle/domain/Tiles.kt Show resolved Hide resolved
src/main/kotlin/wordle/domain/Game.kt Outdated Show resolved Hide resolved
@cjlee38
Copy link

cjlee38 commented May 26, 2022

안녕하세요 애쉬~ 피드백 반영하신 내용 확인했습니다. 코드에서 더 이상 수정하실 건 없을 것 같고, 함께 고민해볼 포인트들이 몇 가지 있는 것 같아 그 부분만 한번 생각해보시고 답변 달아주시면 감사하겠습니다~ 미션하시느라 고생 많으셨어요 ! 👍

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