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

게임 기본 로직 구현. #1

Merged
merged 6 commits into from
Sep 21, 2021
Merged

게임 기본 로직 구현. #1

merged 6 commits into from
Sep 21, 2021

Conversation

Yeram522
Copy link
Owner

image

👀 구글 게임을 보고, 디자인을 착안해 구현해보았다.

✔ 녹화 강의 재수강 후, 수업시간에 진행한 메인 스크립트 copy
✔ Utils.h 헤더파일 추가.
✔ 수업시간에 배운 Screen 클래스와 Borland 헤더를 이용해, 지뢰찾기 필드를 만들었다.
✔ 콘솔 색 변경도 해보았다.
📄클래스별로 헤더파일 분활
@Yeram522
Copy link
Owner Author

✅현재 진행 상황
image

✔ Screen 배열을 조정해서, 초록필드가 조금 우측으로 가게끔 해보자.

@Yeram522 Yeram522 mentioned this pull request Sep 20, 2021
@Yeram522 Yeram522 added this to To Do in Mine-Sweeper-Game Sep 20, 2021
💡 'UI 조정하기` 이슈 해결 완료!!
✔ rand()와 srand()를 통해 무작위로 10~20개의 지뢰가 생성
✔ Screen 객체에서 print할 때, 실시간으로 객체의 state를 불러와서 바로 해당 state의 char을 복사함.

🐞 해당 개수 만큼 지뢰가 안 심어지는 버그 해결중!!
- 중단점 찍어서 디버깅 해보자!!
@Yeram522 Yeram522 changed the title 게임 기본 화면 구현 완료. 게임 기본 로직 구현. Sep 21, 2021
@Yeram522 Yeram522 merged commit e1cd37c into main Sep 21, 2021
Mine-Sweeper-Game automation moved this from To Do to Done Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant