javachallenge 2012 special league

18
Asterobots - No pain, No vein - National Institution for the Promotion of Youth Education The 17th November, 2012 Kazunori Sakamoto Waseda University Daniel Perez Waseda University Hiroaki Hosono Tokyo Institute of Technology Seiji Sato Waseda University

Upload: kazunori-sakamoto

Post on 17-Jul-2015

462 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: JavaChallenge 2012 Special League

Asterobots - No pain, No vein -

National Institution for the Promotion of Youth Education

The 17th November, 2012

Kazunori Sakamoto Waseda University

Daniel Perez Waseda University

Hiroaki Hosono Tokyo Institute of Technology

Seiji Sato Waseda University

Page 2: JavaChallenge 2012 Special League

Rule of qualification round

• Prepare 4 teams + 2 our samples

• Each team plays 10 games randomly

• Calculate scores with 1st:21, 2nd: 15, 3rd:10, 4th:6, 5th:3, 6th:1 points

• The highest 2 teams advance to the final!

2012/12/26 2

Page 3: JavaChallenge 2012 Special League

Rule of qualification round

• Prepare 4 teams + 2 our samples

• Each team plays 10 games randomly

• Calculate scores with 1st:21, 2nd: 15, 3rd:10, 4th:6, 5th:3, 6th:1 points

• The highest 2 teams advance to the final!

2012/12/26 3

Page 4: JavaChallenge 2012 Special League

Team introduction

• hasi (KLab): Takuya Hashimoto

• mecha_g3 (KLab): Shingo Inada

• methane1 (KLab): Naoya Inada

• Oyososan (Google): Hisayori Noda Ryo Hashimoto Taiju Tsuiki Hitoshi Yoshida Takashi Tayama

• Wand Player (Our sample)

• JoeJack (Our sample)

2012/12/26 4

Page 6: JavaChallenge 2012 Special League

Ranks of qualification round

Name Ranks Score

methane1 2 2 2 1 2 3 4 5 2 3 125 mecha_g3 5 3 4 3 3 5 6 2 3 4 74 Wand Player 1 5 5 4 4 4 5 3 6 5 62 JoeJack 4 4 6 6 6 6 3 6 5 6 31 Oyososan 6 6 3 2 5 1 1 4 1 2 114 hasi 3 1 1 5 1 2 2 1 4 1 154

2012/12/26 6

Page 7: JavaChallenge 2012 Special League

Rule of final round

• Prepare 4 students’ and 2 guests’ teams

– not_shiokawa, wakaba, oshieteZukky, <<o<>_<*>o>>

• We conducted 3 games

• Calculate scores with 1st:21, 2nd: 15, 3rd:10, 4th:6, 5th:3, 6th:1 points

• The highest team wins!

2012/12/26 7

Page 8: JavaChallenge 2012 Special League

Let’s watch the games

• http://www.youtube.com/watch?v=qoW2cjwnRzM

• http://www.youtube.com/watch?v=rnIHc55_D6Y

• http://www.youtube.com/watch?v=7BQomwyB2Lo

2012/12/26 8

Page 9: JavaChallenge 2012 Special League

Matches of 1st round

methane1 wakaba wakaba

not_shiokawa mathane1 <<o<>_<*>o>>

wakaba oshieteZukky oshieteZukky

ohieteZukky hasi not_shiokawa

<<o<>_<*>o>> <<o<>_<*>o>> metahne1

hasi not_shiokawa hasi

Page 10: JavaChallenge 2012 Special League

Ranking after 1st round

2012/12/26 10

Rank AI name 1st Score

1 <<o<>_<*>o>> 1 (21) 21

2 hasi 2 (15) 15

3 wakaba 3 (10) 10

4 methane1 4 (6) 6

5 not_shiokawa 5 (3) 3

6 oshieteZukky 6 (1) 1

Page 11: JavaChallenge 2012 Special League

Matches of 2nd round

methane1 wakaba wakaba

not_shiokawa mathane1 <<o<>_<*>o>>

wakaba oshieteZukky oshieteZukky

ohieteZukky hasi not_shiokawa

<<o<>_<*>o>> <<o<>_<*>o>> metahne1

hasi not_shiokawa hasi

Page 12: JavaChallenge 2012 Special League

Ranking after 2nd round

2012/12/26 12

Rank AI name 1st 2nd Score

1 hasi 2 (15) 1 (21) 36

2 wakaba 3 (10) 2 (15) 25

3 <<o<>_<*>o>> 1 (21) 5 (3) 24

4 methane1 4 (6) 4 (6) 12

5 oshieteZukky 6 (1) 3 (10) 11

6 not_shiokawa 5 (3) 6 (1) 4

Page 13: JavaChallenge 2012 Special League

Matches of 3rd round

methane1 wakaba wakaba

not_shiokawa mathane1 <<o<>_<*>o>>

wakaba oshieteZukky oshieteZukky

ohieteZukky hasi not_shiokawa

<<o<>_<*>o>> <<o<>_<*>o>> metahne1

hasi not_shiokawa hasi

Page 14: JavaChallenge 2012 Special League

Ranking after 3rd round

2012/12/26 14

Rank AI name 1st 2nd 3rd Score

1 hasi 2 (15) 1 (21) 3 (10) 46

2 <<o<>_<*>o>> 1 (21) 5 (3) 1 (21) 45

3 methane1 4 (6) 4 (6) 2 (15) 27

4 wakaba 3 (10) 2 (15) 6 (1) 26

5 oshieteZukky 6 (1) 3 (10) 4 (6) 17

6 not_shiokawa 5 (3) 6 (1) 5 (3) 7

Page 15: JavaChallenge 2012 Special League

LOC(Lines of code) and score

2012/12/26 15

0

200

400

600

800

1000

1200

1400

1600

0 50 100 150 200 250 300 350 400 450

Score

Lines of code

A large program is stronger than a small

program ... ?

Page 16: JavaChallenge 2012 Special League

Complexity and score

2012/12/26 16

0

200

400

600

800

1000

1200

1400

1600

0 10 20 30 40 50 60 70 80

Score

Cyclomatic complexity

Is a simple code more powerful than a complex code ? too low correlativity ...

Page 17: JavaChallenge 2012 Special League

So what ...?

Metrics should be measured for a specific purpose

2012/12/26 17

Page 18: JavaChallenge 2012 Special League

Thank you!

See you again @JavaChallenge2013

2012/12/26 18