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

[소재훈 - 미션 step4~5 구현] #19

Closed
wants to merge 4 commits into from
Closed

[소재훈 - 미션 step4~5 구현] #19

wants to merge 4 commits into from

Conversation

jay-so
Copy link
Member

@jay-so jay-so commented Mar 21, 2025

과제 설명

  • step4. 사용자 입력 숫자와 컴퓨터 생성 숫자가 모두 일치할 경우 게임 종료 후 게임 시작, 완전 종료 구현
  • step5. 잘못된 숫자 값에 대한 예외 처리 구현

요구 사항과 구현 내용

  • 미션 요구 사항 및 기능 구현 내용
  • 입력 숫자와 컴퓨터 생성 숫자가 모두 일치할 경우 게임 종료
  • 종료 후 게임 시작, 완전 종료 구현
  • 잘못된 숫자 값에 대한 예외 처리 구현

피드백 반영사항

지난 엔트리 클래스의 경우 실행만 담당할 필요가 없을때, 여러 개의 엔트리 클래스가 없을 때는 모듈화가 필요 없다는 점을 반영하여 App.mjs를 App.js로 변경하였습니다.

PR 포인트 & 궁금한 점 & 기능 구현 목록

  • 엔트리 클래스를 의존성 주입 방식으로 변경하였습니다.
  • 정규 표현식을 이용하여 사용자가 숫자가 아닌 다른 글자를 입력할 때 예외가 발생되고 종료되도록 구현하였습니다.

Sorry, something went wrong.

@jay-so jay-so added the 🔥 매운맛 매운맛 리뷰 label Mar 21, 2025
@jay-so jay-so self-assigned this Mar 21, 2025
Copy link

@yerimming @makeUgreat @jiminseong 님 랜덤 리뷰어로 당첨되셨습니다! 리뷰를 부탁드립니다. 🙏

@jay-so jay-so linked an issue Mar 21, 2025 that may be closed by this pull request
3 tasks
@jay-so jay-so closed this Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 매운맛 매운맛 리뷰
Projects
None yet
Development

Successfully merging this pull request may close these issues.

숫자 야구 step4, step5 구현
1 participant