• LF몰 이벤트
  • 파일시티 이벤트
  • 서울좀비 이벤트
  • 탑툰 이벤트
  • 닥터피엘 이벤트
  • 아이템베이 이벤트
  • 아이템매니아 이벤트

Solution to find Golds in Maze

*해*
최초 등록일
2010.10.09
최종 저작일
2010.10
11페이지/한글파일 한컴오피스
가격 1,000원 할인쿠폰받기
다운로드
장바구니

소개글

Solution to find Golds in Maze

목차

Ⅰ. Introduction
Ⅱ. Method & Experiment
1. Making maze
2. Detecting 8 Direction
3. Stack
4. Experiments
Ⅲ. Flow Chart
Ⅳ. Solution and Result (Analysis)
Ⅴ. Source code with Output
1. Clockwise
2. Anti-Clockwise
3. Output

본문내용

Ⅰ. Introduction
In this homework, professor has required students who take data structure to find golds in random maze. To solve this problem, We should use method that detect obstacles surrounding 8 directions, which is needed to use concept of stack in data structure. The method investigate the eight neighbor cells in the clockwise and anticlockwise direction. The professor requires his students to try to use both type detection.

Ⅱ. Method & Experiment
1. Making maze
I used to make maze `rand()%2` function which is random number arrangements. The function depends on seed value which makes arrangement of number. And then I inserted golds which are goals in this problem. The golds should be found by detector in this program in order to finish this problem. The golds are also made by rand function, which are notated number `2`.
2. Detecting 8 Direction
To find right way, I used method to detect 8 direction surrounding mouse. In clockwise method, mouse finds way from sequence such as

참고 자료

없음
*해*
판매자 유형Bronze개인

주의사항

저작권 자료의 정보 및 내용의 진실성에 대하여 해피캠퍼스는 보증하지 않으며, 해당 정보 및 게시물 저작권과 기타 법적 책임은 자료 등록자에게 있습니다.
자료 및 게시물 내용의 불법적 이용, 무단 전재∙배포는 금지되어 있습니다.
저작권침해, 명예훼손 등 분쟁 요소 발견 시 고객센터의 저작권침해 신고센터를 이용해 주시기 바랍니다.
환불정책

해피캠퍼스는 구매자와 판매자 모두가 만족하는 서비스가 되도록 노력하고 있으며, 아래의 4가지 자료환불 조건을 꼭 확인해주시기 바랍니다.

파일오류 중복자료 저작권 없음 설명과 실제 내용 불일치
파일의 다운로드가 제대로 되지 않거나 파일형식에 맞는 프로그램으로 정상 작동하지 않는 경우 다른 자료와 70% 이상 내용이 일치하는 경우 (중복임을 확인할 수 있는 근거 필요함) 인터넷의 다른 사이트, 연구기관, 학교, 서적 등의 자료를 도용한 경우 자료의 설명과 실제 자료의 내용이 일치하지 않는 경우

이런 노하우도 있어요!더보기

최근 본 자료더보기
탑툰 이벤트
Solution to find Golds in Maze
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업
  • 레이어 팝업
AI 챗봇
2024년 06월 12일 수요일
AI 챗봇
안녕하세요. 해피캠퍼스 AI 챗봇입니다. 무엇이 궁금하신가요?
2:24 오전
New

24시간 응대가능한
AI 챗봇이 런칭되었습니다. 닫기