tetris ai 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

14
Tetris AI 팀팀 팀팀팀 (20111974) 팀팀팀 (20131681) 팀팀팀 (20131712)

Upload: tracy-warner

Post on 19-Dec-2015

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Tetris AI

팀원

김유섭(20111974)

류동균(20131681)

임성훈(20131712)

Page 2: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Index

1. What is a Tetris?

2. Implementation method

3. Choice Of Algorithm

4. Genetic Algorithm

Page 3: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

What is a Tetris?

https://www.youtube.com/watch?v=jwC544Z37qo

Page 4: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Implementation method

Hole is a negative element.

Page 5: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Implementation method

Height is a negative element.

Page 6: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Implementation method

Complete Line is a positive element.

Page 7: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Implementation method

Which is the best position?

Page 8: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Implementation method

• Variable of a hole is ‘x’• Variable of a height is ‘y’• Variable of a line is ‘z’

𝑆𝑐𝑜𝑟𝑒=𝛼×𝑥+𝛽× 𝑦+𝛾× 𝑧+…+𝛿×𝑞Weighted value

Page 9: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Choice of algorithm

Which is the best algorithm for Tetris?

Genetic Algorithm Artificial Neural Network

Page 10: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Choice of algorithm

Artificial Neural Network

Input Output

Page 11: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Choice of algorithm

Gene pool

Select Gene 00011000101 01010

01010101010 01001

00011000101 01001Crossing

00010000101 01001Mutation

Page 12: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Genetic algorithm

Roulette Selection

• Area is Fitness.• If area greater than other, it is se-

lected with a high probability.

Page 13: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

Genetic algorithm

00011000101 0101001010101010 01001

00011000101 01001One-Point Crossing

Selected Gene

Selected Gene

Child Gene 00010000101 01001Mutation

Page 14: Tetris AI 팀원 김유섭 (20111974) 류동균 (20131681) 임성훈 (20131712)

감사합니다 .