[그리디] 이채현 사다리 1~5단계 미션 제출합니다.#89
Open
chaehyunL wants to merge 43 commits intonext-step:chaehyunlfrom
Open
Conversation
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.
🙋♂️ 인사
안녕하세요 [그리디] 4기 백엔드 이채현입니다. 잘 부탁드립니다. :)
🚀 1단계-사다리 출력
네이버 사다리 게임을 참고하여,자동적으로 사다리를 만드는 기능 구현을 함.
🚀 2단계-사다리 생성
사다리의 넓이와 높이에 대한 입력을 받음
🚀 3단계-사다리 타기
사다리 타기 후 결과를 출력하는 프로그램을 실행함
🚀 4단계-게임 실행
참여할 사람 이름을 입력받고, 실행 결과를 입력 받음
결과를 보고 싶은 사람을 2번 출력함.
🤔 고민한 내용
처음 사다리를 출력하는 기능을 만들 때, 1,2,3,4 숫자로 정렬했다가 이 부분을 이름으로 바꿀 때, Map을 사용하였는데,
Map은 순서성이 없는데 사다리 이동을 어떻게 표현해야 할지에 대한 고민을 많이 하였습니다.
❓ 질문사항
domain의 역할이 무엇인지 잘 모르겠어요. model과 domain은 다른데, 어떤 부분에서 어떻게 다른지 정확하게 알고 싶습니다.