User Tools

Site Tools


public:t-622-arti-16-1:programming_assignment_2_-_breakthrough

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:t-622-arti-16-1:programming_assignment_2_-_breakthrough [2016/02/15 11:10] – [Hints] stephanpublic:t-622-arti-16-1:programming_assignment_2_-_breakthrough [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 11: Line 11:
  
  
-/*+
 ===== Tournament ===== ===== Tournament =====
-The agents that were created in class participated in a tournament against each other. The results of the tournament can be seen [[http://ggpserver.general-game-playing.de/ggpserver/public/view_tournament.jsp?tournamentID=ai15_c4&sortBy=averageReward&sortOrder=desc|here]].+The agents that were created in class participated in a tournament against each other. 
 +There were 16 agents competing in the first round. In that round, every agent played on the 3x5 and the 5x5 boards against everyone else, once as white and once as black. 
 +The top 7 of the first round  (because there was a distinctive gap between 7th and 8th place) got to compete in a final round on the 8x8 board. 
 + 
 +The results of the first round can be seen [[http://ggpserver.general-game-playing.de/ggpserver/public/view_tournament.jsp?tournamentID=ru_ai16_bt&sortBy=averageReward&sortOrder=desc|here]]. 
 +The results of the final round can be seen [[http://ggpserver.general-game-playing.de/ggpserver/public/view_tournament.jsp?tournamentID=ru_ai16_bt2&sortBy=averageReward&sortOrder=desc|here]].
  
 ^Group^Player Name^Average Score^ ^Group^Player Name^Average Score^
-|Ari Freyr Ásgeirsson |ai15_c4_1   || +|Fanney Sigurðardóttir   |ai16_bt_10   | (82.76) FINALIST - **79.2** 
-|Ævar Ísak Ástþórsson |:::|:::| +|Guðni Fannar Kristjánsson   |:::|:::| 
-|Ásgeir Viðar Árnason |ai15_c4_2   || +|Hrafn Orri Hrafnkelsson   |:::|:::| 
-|Fabio Alessandrelli  |:::|:::+|Kristinn Þorri Þrastarson   |:::|:::
-|Atli Sævar Guðmundsson  |ai15_c4_3   || +|Guðmundur Harðarson |ai16_bt_2   | (76.72) FINALIST - **75.0** | 
-|Ægir Már Jónsson     |:::|:::| +|Andri Ívarsson  |:::|:::
-|Stefanía Bergljót Stefánsdóttir     |:::|:::| +|Björn Ingi Baldvinsson  |:::|:::
-|Arnar Freyr Bjarnason     |:::|:::| +|Andri Már Þórhallsson   |ai16_bt_4   | (74.14) FINALIST - **62.5** | 
-|Bjarni Egill   |ai15_c4_4   || +|Ásgeir Þór Másson   |:::|:::| 
-|Davíð Hafþór   |:::|:::| +|Karl Ingi Karlsson   |:::|:::| 
-|Einar Karl   |:::|:::| +|Sindri Már Kaldal Sigurjónsson   |ai16_bt_15   | (70.69) FINALIST - **58.3** | 
-|Ólafur Ingi Eiríksson   |:::|:::| +|Eysteinn Gunnlaugsson   |:::|:::| 
-|Freyr Bergsteinsson   |ai15_c4_5   || +|Magnús Sigurðarson   |:::|:::
-|Kristinn Þröstur Sigurðarson   |:::|:::| +|Brynjar Ólafsson   |ai16_bt_5   | (62.93) FINALIST - **54.2** 
-|Gabríel Arthúr Pétursson   |ai15_c4_6   || +|Tryggvi Þór Guðmundsson   |:::|:::| 
-|Kristján Árni Gerhardsson   |:::|:::| +|Hörður Már Hafsteinsson   |:::|:::| 
-|Ingibergur Sindri Stefnisson   |:::|:::| +|Ari Þórðarson   |:::|:::| 
-|Geir Ingi Sigurðsson   |ai15_c4_7   || +|Eva Segarra Raro   |ai16_bt_9   | (64.66) FINALIST - **12.5** 
-|Daníel Þór Gunnlaugsson   |:::|:::| +|Jakub Mackovic   |:::|:::| 
-|Guðlaugur Garðar Eyþórsson   |ai15_c4_8   || +|Roser Sanchez Todo   |:::|:::
-|Guðmundur Stefánsson   |ai15_c4_9   || +|Kári Eiríksson  |ai16_bt_3   | (66.38) FINALIST - **8.3** | 
-|Hinrik Már Hreinsson   |ai15_c4_10   || +|Magnús Vilhelm Björnsson     |:::|:::| 
-|Svanhvít Jónsdóttir   |:::|:::| +|Andri Már Ómarsson     |:::|:::| 
-|Andri Már Sigurðsson   |:::|:::| +|Sverrir Magnússon     |:::|:::
-|Hafdís Erla Helgadóttir   |:::|:::| +|Eiður Sveinn Gunnarsson   |ai16_bt_8   | 48.28 
-|Ingólfur Halldórsson   |ai15_c4_11   || +|Orri Ólafsson   |:::|:::| 
-|Ragnar Adolf Árnason   |:::|:::| +|Jóhannes Páll Magnússon   |:::|:::| 
-|Kjartan Valur Kjartansson   |ai15_c4_12   || +|Ingimar Örn Oddsson |ai16_bt_1   | 44.83 
-|Murray Tannock   |ai15_c4_13   || +|Alexander Björnsson |:::|:::| 
-|Páll Arinbjarnar   |ai15_c4_14   || +|Johan Ejstrud |:::|:::| 
-|Davíð Arnar Sverrisson   |:::|:::| +|Kristján Hreinn Bergsson   |ai16_bt_14   | 41.38 
-|Stefán Ólafsson   |ai15_c4_15   || +|Egill Anton Hlöðversson   |ai16_bt_13   | 40.52 
-|Sveinn Henrik Kristinsson   |ai15_c4_16   || +|Jón Gísli Björgvinsson   |:::|:::| 
-|Andri Fannar Freysson   |:::|:::| +|Atli Freyr Einarsson   |ai16_bt_7   | 26.72 | 
-|Sigurjón Rúnar Vikarsson   |:::|:::| +|Guðjón Geir Jónsson   |:::|:::| 
-|Ólafur Helgi Jónsson   |:::|:::|+|Gunnar Karl Pálmason   |:::|:::| 
 +|Steinar Ágúst Steinarsson   |:::|:::| 
 +|Grímur Kristinsson   |ai16_bt_11   | 25.86 
 +|Natan Örn Ólafsson   |:::|:::| 
 +|Sölvi Hjaltason   |:::|:::| 
 +|Kristján Harðarson   |:::|:::
 +|Guðrún Inga Baldursdóttir   |ai16_bt_12   | 24.14 
 +|Björn Ingemar Elfström   |:::|:::
 +|Davíð Freyr Jónsson   |:::|:::| 
 +|Quang Van Nguyen   |ai16_bt_6   | 20.69 
 +|Einar Hallberg Ragnarsson   |:::|:::
 +|Ásgeir Frímannsson   |:::|:::| 
 +|Janus Þór Kristjánsson   |:::|:::| 
 +|Tinna Frímann Jökulsdóttir   |ai16_bt_16   | 10.0 | 
 +|Dagur Arinbjörn Daníelsson   |:::|:::|
 ^^^^ ^^^^
-*/+
  
 ===== Tasks ===== ===== Tasks =====
Line 62: Line 81:
   - Improve the state evaluation function or implement a better one.   - Improve the state evaluation function or implement a better one.
   - Test if it is really better by pitching two agents (one with each evaluation function) against each other or by pitching each evaluation function against a random agent. If you run the experiments with the random agent, you need to repeat the experiment a decent number of times to get significant results. Don't forget to switch sides because white has an advantage in the game.   - Test if it is really better by pitching two agents (one with each evaluation function) against each other or by pitching each evaluation function against a random agent. If you run the experiments with the random agent, you need to repeat the experiment a decent number of times to get significant results. Don't forget to switch sides because white has an advantage in the game.
-  - Do all experiments with time constraints (play clock) of 1s, 5s and 10s. +  - Run the experiments with different board sizes and time constraints (play clock) of 1s and 10s. 
-  - Make your code fast! The more state expansions you get per second, the better the player. Ideally, you should be able to solve the +  - Make your code fast! The more state expansions you get per second, the better the player. Ideally, you should be able to solve the small boards (3x5, 5x5) in 10s.
  
 ===== Material ===== ===== Material =====
-  * java project for the agent development+  * {{:public:t-622-arti-16-1:breakthrough_agent.zip|java project for the agent development}}
  
 The files in the archive are similar to those in the first programming assignment. The archive contains code for implementing an agent in the src directory. The agent is actually a server process which listens on some port and waits for a game simulator or a game playing robot to send a message. It will then reply with the next action the agent wants to execute. The files in the archive are similar to those in the first programming assignment. The archive contains code for implementing an agent in the src directory. The agent is actually a server process which listens on some port and waits for a game simulator or a game playing robot to send a message. It will then reply with the next action the agent wants to execute.
Line 73: Line 92:
   * Start the simulator (execute gamecontroller-gui.jar with either double-click or using the command "java -jar gamecontroller-gui.jar" on the command line)   * Start the simulator (execute gamecontroller-gui.jar with either double-click or using the command "java -jar gamecontroller-gui.jar" on the command line)
   * Setup the simulator as shown in this picture:   * Setup the simulator as shown in this picture:
 +  * {{:public:t-622-arti-16-1:gamecontroller_settings.png?nolink|}}
   * You can use your player as both the first and the second role of the game, just not at the same time. To let two instances of your agent play against each other, start your agent twice with different ports to listen on and use the respective ports in the simulator.   * You can use your player as both the first and the second role of the game, just not at the same time. To let two instances of your agent play against each other, start your agent twice with different ports to listen on and use the respective ports in the simulator.
   * Run the "Main" class in the project. If you added your own agent class, make sure that it is used in the main method of Main.java. You can also execute the "ant run" on the command line, if you have [[http://ant.apache.org/|Ant]] installed. The output of the agent should say "NanoHTTPD is listening on port 4001", which indicates that your agent is ready and waiting for messages to arrive on the specified port.   * Run the "Main" class in the project. If you added your own agent class, make sure that it is used in the main method of Main.java. You can also execute the "ant run" on the command line, if you have [[http://ant.apache.org/|Ant]] installed. The output of the agent should say "NanoHTTPD is listening on port 4001", which indicates that your agent is ready and waiting for messages to arrive on the specified port.
Line 104: Line 124:
   * a pdf with a short description of your heuristic and the results of the experiments and the conclusions you draw from them   * a pdf with a short description of your heuristic and the results of the experiments and the conclusions you draw from them
  
-The deadline is 04.03.2016. We will have a tournament between your agents afterwards. Extra points for the top players!+The deadline is 29.02.2016. We will have a tournament between your agents afterwards. Extra points for the top players!
  
 /* You can watch the tournament [[http://130.208.241.192/ggpserver/public/view_tournament.jsp?tournamentID=ru_arti13_connect4|here]]. /* You can watch the tournament [[http://130.208.241.192/ggpserver/public/view_tournament.jsp?tournamentID=ru_arti13_connect4|here]].
 */ */
- 
/var/www/cadia.ru.is/wiki/data/attic/public/t-622-arti-16-1/programming_assignment_2_-_breakthrough.1455534616.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki