Hotfix release available: 2025-05-14b "Librarian".
upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian".
upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian".
upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos".
upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos".
upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos".
upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum".
upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum".
upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum".
upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor".
upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor".
upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor".
upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor".
upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor".
upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather".
upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather".
upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather".
upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather".
upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather".
upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo".
upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo".
upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo".
upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo".
upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners".
upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners".
upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners".
upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners".
upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners".
upgrade now! [49.3] (what's this?)
Hotfix release available fixing security token and media manager: 2017-02-19b "Frusterick Manners".
upgrade now! [49.2] (what's this?)
Hotfix release available fixing install and media manager issues: 2017-02-19a "Frusterick Manners".
upgrade now! [49.1] (what's this?)
New release available: 2017-02-19 "Frusterick Manners".
upgrade now! [49] (what's this?)
Hotfix release available: 2016-06-26e "Elenor of Tsort".
upgrade now! [48.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2016-06-26d "Elenor of Tsort".
upgrade now! [48.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2016-06-26c "Elenor of Tsort".
upgrade now! [48.3] (what's this?)
Hotfix release available fixing security token: 2016-06-26b "Elenor of Tsort".
upgrade now! [48.2] (what's this?)
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
마리오:시작하기 [2011/03/13 13:02] akamotaco |
마리오:시작하기 [2019/08/27 14:45] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | 1. 환경을 꾸미기 전에 | + | ======Mario AI Competition====== |
| + | |||
| + | =====1. 환경을 꾸미기 전에===== | ||
| 본 문서는 자바를 통해 마리오AI를 다룬다\\ | 본 문서는 자바를 통해 마리오AI를 다룬다\\ | ||
| Line 6: | Line 8: | ||
| 이미 eclipse가 설치되어 있다면 필요한 부분만 사용하기 바란다.\\ | 이미 eclipse가 설치되어 있다면 필요한 부분만 사용하기 바란다.\\ | ||
| | | ||
| - | 2. 개발툴 설치 | + | =====2. 개발툴 설치===== |
| eclipse는 [[http://eclipse.org]] 에서 다운받을 수 있다.\\ | eclipse는 [[http://eclipse.org]] 에서 다운받을 수 있다.\\ | ||
| Line 28: | Line 30: | ||
| 따라서 subversive 대신 subclipse를 설치하고 재시작을 한다. | 따라서 subversive 대신 subclipse를 설치하고 재시작을 한다. | ||
| - | 3. 마리오AI 파일 다운로드 및 프로젝트 생성 | + | =====3. 마리오AI 파일 다운로드 및 프로젝트 생성===== |
| subclipse가 무사히 설치되었다면, 이제 마리오AI를 받으면 된다.\\ | subclipse가 무사히 설치되었다면, 이제 마리오AI를 받으면 된다.\\ | ||
| Line 52: | Line 54: | ||
| - Finish를 다시 눌러 프로젝트 생성을 완료한다. | - Finish를 다시 눌러 프로젝트 생성을 완료한다. | ||
| - | 3. 설정 및 빌드 | + | =====3. 설정 및 빌드===== |
| 처음 프로젝트를 생성한 뒤에 하나를 설정해 줘야 한다.\\ | 처음 프로젝트를 생성한 뒤에 하나를 설정해 줘야 한다.\\ | ||
| Line 59: | Line 61: | ||
| (처음부터 [Project] -> [Build Automatically]가 설정되어 있다면 다시 빌드할 필요는 없다.) | (처음부터 [Project] -> [Build Automatically]가 설정되어 있다면 다시 빌드할 필요는 없다.) | ||
| - | 4. 실행 | + | =====4. 실행===== |
| 위의 과정을 착실히 수행해 왔다면, [Run] -> [Run Configurations]눌러 창을 연 다음\\ | 위의 과정을 착실히 수행해 왔다면, [Run] -> [Run Configurations]눌러 창을 연 다음\\ | ||
| Line 75: | Line 77: | ||
| (현재의 모드는 매뉴얼 모드로 A키로 불꽃, S키로 점프를 할 수 있으며, 십자키로 콧수염 아저씨를 움직일 수 있다.) | (현재의 모드는 매뉴얼 모드로 A키로 불꽃, S키로 점프를 할 수 있으며, 십자키로 콧수염 아저씨를 움직일 수 있다.) | ||
| + | =====5. AI 실행===== | ||
| + | |||
| + | AI를 적용하여 실행시키기 위해서는 뒤에 옵션을 추가로 정해주면 된다\\ | ||
| + | 다시 [Run] -> [Run Configurations]를 눌러 창을 연 다음\\ | ||
| + | 'Arguments' 탭을 열어 'Program arguments'에 다음을 추가해 보자 | ||
| + | '-ag ch.idsia.agents.controllers.ForwardJumpingAgent' | ||
| + | |||
| + | {{:마리오:12.jpg|}} | ||
| + | |||
| + | 그 뒤 'Run'을 누르게 되면, 자기 혼자서 달려나가는 콧수염 배관공 아저씨를 볼 수 있을 것이다. | ||
| + | (다른 컨트롤러를 사용해보고 싶다면 프로젝트 트리의 src->ch.idsia.agents.controllers 하위에 있는 컨트롤러로 바꿔보자.) | ||