Cocos2d-x

Size: px
Start display at page:

Download "6 29 6.1.............................. 29 6.2.............................. 31 6.3.... 33 7 34 7.1 Cocos2d-x..................... 35 7.2.............."

Transcription

1

2 Cocos2d-x

3 (artificial intelligence) [1] 2 [2] 3

4 2 2.1 (genetic algorithm) 20 x 20 4 [3]

5 x t x = sin t 1: 5

6 x x = sin t t = 0 1, 0 2, 1 9, x [-20,20] 20 (1) n x x S = 19 k=0 (a k b k ) (1) ( a x b x k ) (1)

7 :

8 3:

9 3 3.1 [4] 2 9

10

11 4: 11

12 3.4 (Max) (Min) 5 3 5: (3 )

13 6: 2 3 max eval 13

14 7: 1 2 min int Minmax( node, turn, depth){ if(depth == 0) eval(node); if(turn ){ int w, max = - ; for( n_i ){ w = Minmax(n_i,, depth-1) if(w > max) max = w; } return max; } else { int w, min = ; for( n_i ){ w = Minmax(n_i,, depth-1) if(w < min) min = w; } return min; } } 14

15 min(3, max(4,?))? 3 max(4,?) 4 min(3, 4 ) 3 min(0, max(1,?)) min(0, 1 ) 0 max(3, 0) 3 [5] 15

16 8: 16

17 3.5.1, int Alphabeta( node, turn, depth,, ){ if(depth == 0) eval(node); if(turn ){ for( n_i ){ = max(, Alphabeta(n_i,, depth-1,, )); if( >= ) return ; } return ; } else { for( n_i ){ = min(, Alphabeta(n_i,, depth-1,, )); if( >= ) return ; } return ; } }, 8 min(3, max(4,?)) 3, 3 ( ) 17

18 : 18

19 A,B,C 1,2,3,4 [A4] [C2] 1 4 (, ) 10:

20 : 20

21 ( ) ( ) 1 ( ) 3 12: 21

22 4.4 [6] 78 22

23

24

25 : %

26 [B2 ] ( 13) 13: [B2 ] 26

27 & 2: ( & ) : ( & )

28 1 Minmax 4 4 Minmax 28

29 % 5 29

30 14: 30

31 4 4: [0,1] : :

32 :

33 : :

34 7 AndroidOS Cocos2d-x[7] 2D 16: 34

35 7.1 Cocos2d-x cocos2d-x 2D D cocos2d-x Android ios OS 1 OS cocos2d-x C++ Javascript Lua 3 (MIT ) Human VS Human Human VS CPU Rule 18 35

36 17: ( ) 18: ( ) 36

37 Human VS Human Human VS CPU CPU VS CPU 19 menu 19: ( )

38 20: ( ) 21: ( ) 38

39 22: ( ) 8 39

40 [1], 2,,,2012 [2] ( ) What s, -gakk or jp/whats / [3] David M Bourg Glenn Seemann,,,,2005 [4], 2010,,,2012 [5],,,2007 [6],,2009, [7] Cocos2d-x,

●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb

●70974_100_AC009160_KAPヘ<3099>ーシス自動車約款(11.10).indb " # $ % & ' ( ) * +, -. / 0 1 2 3 4 5 6 7 8 9 : ; < = >? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y " # $ % & ' ( ) * + , -. / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B

More information

- 1 - - 2 - 320 421 928 1115 12 8 116 124 2 7 4 5 428 515 530 624 921 1115 1-3 - 100 250-4 - - 5 - - 6 - - 7 - - 8 - - 9 - & & - 11 - - 12 - GT GT - 13 - GT - 14 - - 15 - - 16 - - 17 - - 18 - - 19 - -

More information

210-0004 TEL 200-3298,3300 FAX 222-1442 14 ( ) 14 ( ) 7 ( ) 16 ( ) 16 ( ) 23 ( ) (%) 1 ( ) 1 ( ) 2 ( ) 7 ( ) 7 ( ) 22 ( ) 8 ( ) 22 ( ) 30 ( ) or 31( )

210-0004 TEL 200-3298,3300 FAX 222-1442 14 ( ) 14 ( ) 7 ( ) 16 ( ) 16 ( ) 23 ( ) (%) 1 ( ) 1 ( ) 2 ( ) 7 ( ) 7 ( ) 22 ( ) 8 ( ) 22 ( ) 30 ( ) or 31( ) 210-0004 TEL 200-3298,3300 FAX 222-1442 10:00 14:00 210-0004 TEL 200-3298,3300 FAX 222-1442 14 ( ) 14 ( ) 7 ( ) 16 ( ) 16 ( ) 23 ( ) (%) 1 ( ) 1 ( ) 2 ( ) 7 ( ) 7 ( ) 22 ( ) 8 ( ) 22 ( ) 30 ( ) or 31(

More information

... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2

... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2 1 ... 3... 3... 3... 3... 4... 7... 10... 10... 11... 12... 12... 13... 14... 15... 18... 19... 20... 22... 22... 23 2 3 4 5 6 7 8 9 Excel2007 10 Excel2007 11 12 13 - 14 15 16 17 18 19 20 21 22 Excel2007

More information

http://banso.cocolog-nifty.com/ 100 100 250 5 1 1 http://www.banso.com/ 2009 5 2 10 http://www.banso.com/ 2009 5 2 http://www.banso.com/ 2009 5 2 http://www.banso.com/ < /> < /> / http://www.banso.com/

More information

JA2008

JA2008 A1 1 10 vs 3 2 1 3 2 0 3 2 10 2 0 0 2 1 0 3 A2 3 11 vs 0 4 4 0 0 0 0 0 3 6 0 1 4 x 11 A3 5 4 vs 5 6 5 1 0 0 3 0 4 6 0 0 1 0 4 5 A4 7 11 vs 2 8 8 2 0 0 0 0 2 7 2 7 0 2 x 11 A5 9 5 vs 3 10 9 4 0 1 0 0 5

More information

Microsoft PowerPoint - uniCMS操作マニュアル.ppt

Microsoft PowerPoint - uniCMS操作マニュアル.ppt -1- -2- -3- -4- -5- -6- [ ] -7- [ ] -8- [ ] [ ] 1 0 [ ] -9- [ ] -10- -11- -12- -13- -14- -15- -16- -17- -18- -19- -20- -21- ( ) -22- -23- -24- -25- -26- -27- -28- -29- -30- -31- menu menu -32- -33- -34-

More information

n=360 28.6% 34.4% 36.9% n=360 2.5% 17.8% 19.2% n=64 0.8% 0.3% n=69 1.7% 3.6% 0.6% 1.4% 1.9% < > n=218 1.4% 5.6% 3.1% 60.6% 0.6% 6.9% 10.8% 6.4% 10.3% 33.1% 1.4% 3.6% 1.1% 0.0% 3.1% n=360 0% 50%

More information

橡Taro9-生徒の活動.PDF

橡Taro9-生徒の活動.PDF 3 1 4 1 20 30 2 2 3-1- 1 2-2- -3- 18 1200 1 4-4- -5- 15 5 25 5-6- 1 4 2 1 10 20 2 3-7- 1 2 3 150 431 338-8- 2 3 100 4 5 6 7 1-9- 1291-10 - -11 - 10 1 35 2 3 1866 68 4 1871 1873 5 6-12 - 1 2 3 4 1 4-13

More information

2.8% 2.0% 2.4% 2.4% 0.4% 0.1% 0.3% 0.5% 3.8% 5.6% 25.6% 29.3% 64.6% 60.0% 1

2.8% 2.0% 2.4% 2.4% 0.4% 0.1% 0.3% 0.5% 3.8% 5.6% 25.6% 29.3% 64.6% 60.0% 1 2.8% 2.0% 2.4% 2.4% 0.4% 0.1% 0.3% 0.5% 3.8% 5.6% 25.6% 29.3% 64.6% 60.0% 1 16 24 21 20 20 23 10 11 9 10 3 3 3 2 3 1 3 4 6 8 2 0 1 2 3 4 5 6 0 1 2 3 4 5 6 0 1 2 3 4 5 6 3 4 Q & A Q1 A1 Q2 A2 Q3 A3 7

More information

‡o‡P†C‡P‡Q”R„û†^‡P†C‡P‡Q

‡o‡P†C‡P‡Q”R„û†^‡P†C‡P‡Q ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Q & A ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

More information

EPSON

EPSON B K L & & & & & & & & L & & & & & & & K & & & & & L L L & & & K L L L & & L L L & & & & & & & & & & & & & & & & & & & & & & & & & & & L & K L K & & & & & & & L L & & L & & L L & & & & &

More information

™…

™… 2/10 15 2010. No1362 1 1 216315 91430 Q A & 0.23% 1 1.4% 04-7120-2020 050-5540-2023 Q A & 1 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 1 1 2 3 4 5 6 7 8 9 10

More information

bumon_pro.indd

bumon_pro.indd q w e r t y u i o!0 !1!2!3 !4!5!6 !7!8!9 @0 @1 @2 @3 @4 @5 @6 @7 @8 @9 #0 #1 #2 #3 #4 #5 #6 #7 #8 #0 $0 $1 $2 $3 $4 $5 $6 $7 $8 $9 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 ^0 ^1 ^2 ^3 ^4 ^5 ^6 ^7 ^8 ^9 &0 &1 &2

More information

2012_05_GLK_cover.indd

2012_05_GLK_cover.indd c %& r Z \ W W n q & F % % & & % & & % % % & % & % & % & % & % & F F % % % & & & & % & A

More information

32 1 7 1 20 ( ) [18 30] [21 00] 2 3 ( ( ) ) ( ) 4 1 2 95 ( 7 3 2 ) 1 2 3 2 a b

32 1 7 1 20 ( ) [18 30] [21 00] 2 3 ( ( ) ) ( ) 4 1 2 95 ( 7 3 2 ) 1 2 3 2 a b 31 1 7 1 ( ) [18 35] [20 40] 2 3 ( ( ) ) ( ) 4 1 2 1 22 1 2 a b T T A c d 32 1 7 1 20 ( ) [18 30] [21 00] 2 3 ( ( ) ) ( ) 4 1 2 95 ( 7 3 2 ) 1 2 3 2 a b 7 1 ( 34 ) 1 7 2 13 ( ) [18 20] [20 00] 2 4 7 3

More information

26 2 3 4 5 8 9 6 7 2 3 4 5 2 6 7 3 8 9 3 0 4 2 4 3 4 4 5 6 5 7 6 2 2 A B C ABC 8 9 6 3 3 4 4 20 2 6 2 2 3 3 4 4 5 5 22 6 6 7 7 23 6 2 2 3 3 4 4 24 2 2 3 3 4 4 25 6 2 2 3 3 4 4 26 2 2 3 3 27 6 4 4 5 5

More information

項 目

項 目 1 1 2 3 11 4 6 5 7,000 2 120 1.3 4,000 04 450 < > 5 3 6 7 8 9 4 10 11 5 12 45 6 13 E. 7 B. C. 14 15 16 17 18 19 20 21 22 23 8 24 25 9 27 2 26 6 27 3 1 3 3 28 29 30 9 31 32 33 500 1 4000 0 2~3 10 10 34

More information

P02.ppt

P02.ppt int If 2 1 ,,, 3 a + b ab a - b ab a * b ab a / b ab a % b ab a + b 4 2 list0201.c /, % /*/ int vx, vy; puts(""); printf("vx"); scanf("%d", &vx); printf("vy"); scanf("%d", &vy); printf("vx + vy = %d\n",

More information

untitled

untitled 280 200 5 7,800 6 8,600 28 1 1 18 7 8 2 ( 31 ) 7 42 2 / / / / / / / / / / 1 3 (1) 4 5 3 1 1 1 A B C D 6 (1) -----) (2) -- ()) (3) ----(). ()() () ( )( )( )( ) ( ) ( )( )( )( ) () (). () ()() 7 () ( ) 1

More information

Excel97関数編

Excel97関数編 Excel97 SUM Microsoft Excel 97... 1... 1... 1... 2... 3... 3... 4... 5... 6... 6... 7 SUM... 8... 11 Microsoft Excel 97 AVERAGE MIN MAX SUM IF 2 RANK TODAY ROUND COUNT INT VLOOKUP 1/15 Excel A B C A B

More information

1 n i i 1 i n index = 0; [ index] = 1; = = ; if ( == ) { // [ index ]++; } else if () { if( index == 0 ) { // // // // [ index ]++; = ; } else { // //

1 n i i 1 i n index = 0; [ index] = 1; = = ; if ( == ) { // [ index ]++; } else if () { if( index == 0 ) { // // // // [ index ]++; = ; } else { // // 7 1 2008 12 22 1 Copyright c 2008 The Japanese Committee for International Olympiad in Informatics 1 n i i 1 i n index = 0; [ index] = 1; = = ; if ( == ) { // [ index ]++; } else if () { if( index == 0

More information

2

2 1 2 119 119 5 500 1 30 102 1 113 3 4 120 2 3 113 5 230 1 1 3 4 5 6 7 8 1 [email protected] 2 9 3 ( ) 10 11 12 4 1. 2. 3. 4. 13 5 14 15 16 17 18 19 [ ] [ ] 20 [ ] [ ] [ ] 21 22 [ ] 23 < > < >

More information

1 1 2 65

1 1 2 65 3 3 2000 6 14 2 30 4 2 1 1 2 65 1!?? < > 3 2 2 100 19 19 100 100 100 < > 19 2 2 2 2 < > 2000 2000 50 1945 5 50 1945 5 45 20 20 4 1945 4 5 5 5 100 50 20 5 2 20 5 20 5 5 6 20 6 19 5 5 6 5 6 2 20 6 21

More information

パズルをSugar制約ソルバーで解く

パズルをSugar制約ソルバーで解く Sugar 1 2 3 1 CSPSAT 2008 8 21 Sugar 1 2 3 Sugar Sugar (CSP) (SAT ) (encode) SAT SAT order encoding direct encoding support encoding http://bachistckobe-uacjp/sugar/ Web Sugar 1 2 3 Sugar SAT (COP) MAX-CSP

More information

  医 事 法        山口大法医 藤宮龍也

  医 事 法             山口大法医 藤宮龍也 2 ( If anything can go wrong, it will. Things go wrong in batches. MiniMax (mini) (max) ( ) - 134 135 105 149 1) 2) 3) cf. cf. - 160-214 cf. - 211 209,210-204 vs 35 37-19 217 218-202 203 cf. - ( ) 104

More information

離散数理工学 第 2回 数え上げの基礎:漸化式の立て方

離散数理工学 第 2回  数え上げの基礎:漸化式の立て方 2 [email protected] 2015 10 20 2015 10 18 15:29 ( ) (2) 2015 10 20 1 / 45 ( ) 1 (10/6) ( ) (10/13) 2 (10/20) 3 ( ) (10/27) (11/3) 4 ( ) (11/10) 5 (11/17) 6 (11/24) 7 (12/1) 8 (12/8) ( ) (2) 2015 10 20

More information

SNJ HQカリキュラム パソコン入門コース

SNJ HQカリキュラム パソコン入門コース ...1... 2... 2... 4... 5... 5... 6... 9... 12... 13... 13... 13... 14... 16... 16... 17... 18... 19... 20... 22 1.... 22 2.... 22 1 1 1 CPU 106/109 2 3 J ( ) K L F ( ) D S A 4 URL / 5 ffjj Enter / 6 7

More information

untitled

untitled 16 4 1 17 1 50 -1- -2- -3- -4- -5- -6- -7- 1 2-8- -9- -10- -11- Web -12- (1) (2)(1) (3) (4) (1)()(2) (3)(4) -13- -14- -15- -16- -17- -18- -19- -20- -21- -22- -23- (2)(1) (3) -24- -25- -26- -27- -28- -29-

More information

Microsoft Word - 触ってみよう、Maximaに2.doc

Microsoft Word - 触ってみよう、Maximaに2.doc i i e! ( x +1) 2 3 ( 2x + 3)! ( x + 1) 3 ( a + b) 5 2 2 2 2! 3! 5! 7 2 x! 3x! 1 = 0 ",! " >!!! # 2x + 4y = 30 "! x + y = 12 sin x lim x!0 x x n! # $ & 1 lim 1 + ('% " n 1 1 lim lim x!+0 x x"!0 x log x

More information

1 (1) vs. (2) (2) (a)(c) (a) (b) (c) 31 2 (a) (b) (c) LENCHAR

1 (1) vs. (2) (2) (a)(c) (a) (b) (c) 31 2 (a) (b) (c) LENCHAR () 601 1 () 265 OK 36.11.16 20 604 266 601 30.4.5 (1) 91621 3037 (2) 20-12.2 20-13 (3) ex. 2540-64 - LENCHAR 1 (1) vs. (2) (2) 605 50.2.13 41.4.27 10 10 40.3.17 (a)(c) 2 1 10 (a) (b) (c) 31 2 (a) (b) (c)

More information

02

02 54 163116831 02 1 168 54 158 53 162 53 148 52 152 52 10,000 0 40,000 30,000 20,000 50,000 70,000 60,000 1,000 500 1,500 2,000 0 2,500 3,000 4,000 3,500 4,500 168 54 158 53 162 53 148 52 152 52 03 52148

More information

270万回再生レポート

270万回再生レポート 270 270 2 2 Keynote(Mac) Camtasia PC VIdeo5 Point 2 Point 15 2 Point Point ) (2 2 3 2 3 Point 2 4 3 2 1 OK 100 4 10 20 2 75% Point 4 3 SEX Point SEX SEX SEX 2 SEX Point 2 2500 Point ( 100 Point

More information

untitled

untitled 1 ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 2 ( ) 1 ( ) ( ) ( ) ( ) 3 ( ) a b ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) 4 ( ) ( ) ( ) ( ) ( ) ( ) < > 5 a b c d ( ) ( ) ( ) ( ) ( ) 18 73 ( ) ( ) a b 6 6 c ( ) (

More information

00 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.... 0........ 0 0 0 0 0 0 0 0 0 0..0..........0 0 0 0 0 0 0 0 0 0 0.... 0........ 0 0 0 0 0 0 0 0 0 0... 0...... 0... 0 0 0 0 0 0..0 0... 0 0 0 0 0.0.....0.

More information

1.3 1.3.1., ( ) (, ).,,,.,. 1.3.2 ( ).,,,. 1 2.,.,.,.,.,.,,.. 2

1.3 1.3.1., ( ) (, ).,,,.,. 1.3.2 ( ).,,,. 1 2.,.,.,.,.,.,,.. 2 - - - - 1 1.1 3, 1.,, 2.,, 3.,,. 1: 2: 3:,.,.,. 1.2 >,.,. ==,. 100 %.

More information

-1-1 1 1 1 1 12 31 2 2 3 4

-1-1 1 1 1 1 12 31 2 2 3 4 2007 -1-1 1 1 1 1 12 31 2 2 3 4 -2-5 6 CPU 3 Windows98 1 -3-2. 3. -4-4 2 5 1 1 1 -5- 50000 50000 50000 50000 50000 50000 50000 50000 50000 50000-6- -7-1 Windows 2 -8-1 2 3 4 - - 100,000 200,000 500,000

More information

... 1.... 1... 1... 1... 1... 1... 2... 3... 3... 3 100... 4... 8... 9... 9... 11... 13... 13... 13... 14... 14... 16... 18... 18... 18... 20... 20...

... 1.... 1... 1... 1... 1... 1... 2... 3... 3... 3 100... 4... 8... 9... 9... 11... 13... 13... 13... 14... 14... 16... 18... 18... 18... 20... 20... ... 1.... 1... 1... 1... 1... 1... 2... 3... 3... 3 100... 4... 8... 9... 9... 11... 13... 13... 13... 14... 14... 16... 18... 18... 18... 20... 20... 20 1 ... 21... 21... 22... 22... 23. 23... 24... 24...

More information

106 4 4.1 1 25.1 25.4 20.4 17.9 21.2 23.1 26.2 1 24 12 14 18 36 42 24 10 5 15 120 30 15 20 10 25 35 20 18 30 12 4.1 7 min. z = 602.5x 1 + 305.0x 2 + 2

106 4 4.1 1 25.1 25.4 20.4 17.9 21.2 23.1 26.2 1 24 12 14 18 36 42 24 10 5 15 120 30 15 20 10 25 35 20 18 30 12 4.1 7 min. z = 602.5x 1 + 305.0x 2 + 2 105 4 0 1? 1 LP 0 1 4.1 4.1.1 (intger programming problem) 1 0.5 x 1 = 447.7 448 / / 2 1.1.2 1. 2. 1000 3. 40 4. 20 106 4 4.1 1 25.1 25.4 20.4 17.9 21.2 23.1 26.2 1 24 12 14 18 36 42 24 10 5 15 120 30

More information