-
Notifications
You must be signed in to change notification settings - Fork 4
[7주차] 백제완 #90
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
[7주차] 백제완 #90
Conversation
CodeTree/2019-2020년/JW_시공의_돌풍.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
시계 방향, 반시계 방향 부분 mode
로 나누고, dir = (dir + mode + 4) % 4
로 방향 재설정을 해주니 아주 깔끔하네요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
감사합니다 ㅎ
어떻게 하면 한번에 처리할까 고민을 하다가 생각해낸 방법인데
지영님처럼 아예 어떻게 움직일지 배열을 전달하는 방법도 괜찮은 것 같아요!
CodeTree/2019-2020년/JW_시공의_돌풍.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다들 돌풍의 회전 멋있게 구현하셨네요..! while문 조건을 시공의 돌풍으로 돌아올때까지 건 부분 좋네요!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
회전 부분 구현하는게 복잡했는데 실제 현장에서는 깡 구현이 더 빠를 것 같아요
cc213a1
to
3784e7f
Compare
No description provided.