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?)

Game AI Competition Portal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:super_mario_beginners [2011/07/01 03:07]
kimkj
wiki:super_mario_beginners [2019/08/27 14:45] (current)
Line 1: Line 1:
-  ​* Preparation ​+    ​* Preparation ​
     * Operating Systems: ​     * Operating Systems: ​
     * Programming Languages: JAVA     * Programming Languages: JAVA
Line 5: Line 5:
  
   * How to Build Your Own Controller (Eclipse - 32bits windows7 / Helios sr2 , JAVA)    * How to Build Your Own Controller (Eclipse - 32bits windows7 / Helios sr2 , JAVA) 
-    * Download eclipse from http://​eclipse.org ​  +    ​* Step1) Install  
-    * Please choose eclipse marketplace and find subclipse for SVN {{  :​마리오:​03.jpg ​ |}} +      ​* Download eclipse from http://​eclipse.org ​  
-    * [File] -> [New] -> [Other] -> [SVN] +      * Please choose eclipse marketplace and find subclipse for SVN {{  :​마리오:​03.jpg ​ |}} 
-    * Choose '​Checkout projects from SVN' and Press "​Next"​ +      * [File] -> [New] -> [Other] -> [SVN] 
-    * Enter [http://​marioai.googlecode.com/​svn/​trunk] as a repository  +      * Choose '​Checkout projects from SVN' and Press "​Next"​ 
-    * Once again, press [http://​marioai.googlecode.com/​trunk] and "​Next"​ +      * Enter [http://​marioai.googlecode.com/​svn/​trunk] as a repository  
-    * Choose 'Check out as a project configured using the New Project Wizard'​ and Finish {{  :​마리오:​007.jpg ​ |}} +      * Once again, press [http://​marioai.googlecode.com/​trunk] and "​Next"​ 
-    * [Java] -> [Java Project] and "​Next"​ +      * Choose 'Check out as a project configured using the New Project Wizard'​ and Finish {{  :​마리오:​007.jpg ​ |}} 
-    * Project Name as '​MarioAI'​ +      * [Java] -> [Java Project] and "​Next"​ 
-    * Choose 'Use project folder as root for sources and class files' and "​Next"​ {{  :​마리오:​008.jpg ​ |}} +      * Project Name as '​MarioAI'​ 
-    * In the next window, press '​Configure inclusion and exclusion filters'​ in '​Details'​ {{  :​마리오:​009.jpg ​ |}}+      * Choose 'Use project folder as root for sources and class files' and "​Next"​ {{  :​마리오:​008.jpg ​ |}} 
 +      * In the next window, press '​Configure inclusion and exclusion filters'​ in '​Details'​ {{  :​마리오:​009.jpg ​ |}} 
 +      * In '​Inclusion'​ Window, press '​Add'​ and enter ["​.lvl"​ "​.dat"​] and finish 
 +      * Finish 
 +    * Step 2) Configuration and Build  
 +      * In the Project Tree Structure, Choose SRC folder and [right mouse button click] -> [Build Path] -> [Use as source folder] -> [OK]  
 +      * [Project] -> [Build All] 
 +    * Step 3) Execution  
 +      * [Run] -> [Run Configurations] 
 +        * [Java Application] -> [New Launch Configuration] 
 +        * Choose '​Main'​ Tab -> 'Main class' -> Enter '​ch.idsia.scenarios.Main'​ {{  :​마리오:​10.jpg ​ |}} 
 +      * Press '​Run'​ {{  :​마리오:​11.jpg ​ |}} 
 +    * Step 4) AI Execution 
 +      * [Run] -> [Run Configurations] 
 +        * Choose '​Arguments'​ Tab, Enter '​Program arguments'​ as '-ag ch.idsia.agents.controllers.ForwardJumpingAgent'​ {{  :​마리오:​12.jpg ​ |}} 
 +      * Press '​Run' ​
  
- - 새로 열린 창에서 '​Inclusion'​ 창에서 '​Add'​를 눌러 ["​.lvl"​ "​.dat"​]를 추가한 뒤 Finish를 눌러서 창을 종료한다.\\ 
- - Finish를 다시 눌러 프로젝트 생성을 완료한다. 
- 
-=====3. 설정 및 빌드===== 
- 
- ​처음 프로젝트를 생성한 뒤에 하나를 설정해 줘야 한다.\\ 
- ​프로젝트 트리구조를 확장시켜 src폴터를 선택하여 [마우스 오른쪽 버튼] -> [Build Path] -> [Use as source folder] -> [OK]\\ 
- ​그리서 나서 [Project] -> [Build All]을 누른다.\\ 
- ​(처음부터 [Project] -> [Build Automatically]가 설정되어 있다면 다시 빌드할 필요는 없다.) 
- 
-=====4. 실행===== 
- 
- ​위의 과정을 착실히 수행해 왔다면, [Run] -> [Run Configurations]눌러 창을 연 다음\\ 
- [Java Application] -> [New Launch Configuration]을 선택한 상태에서 '​Main'​탭의 'Main class'​를 찾아 다음과 같이 입력한다\\ 
- '​ch.idsia.scenarios.Main'​ 
- 
- ​{{:​마리오:​10.jpg|}} 
- 
- 그 뒤 '​Run'​을 누르게 되면, 
- 
-  
- ​{{:​마리오:​11.jpg|}} 
- 
- ​축하한다. 콧수염 배관공이 하늘에서 떨어지는 것을 볼 수 있을 것이다.\\ 
- ​(현재의 모드는 매뉴얼 모드로 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 하위에 있는 컨트롤러로 바꿔보자.)