A.I. and Games

22
A.I. and Games Lauren Argenio and Russell Braun

description

A.I. and Games. Lauren Argenio and Russell Braun. Turing Test. Can machines think? How can we tell? Do we even know what thinking is? Uh oh…. Turing Test. Solution: Humans are the best judges of intelligence so… - PowerPoint PPT Presentation

Transcript of A.I. and Games

Page 1: A.I. and Games

A.I. and Games

Lauren Argenio and Russell Braun

Page 2: A.I. and Games

Turing Test

Can machines think?

How can we tell?

Do we even know what thinking is?

Uh oh…

Page 3: A.I. and Games

Turing Test

Solution:

Humans are the best judges of intelligence so…

If a computer can convince a human that it is intelligent, then it must be doing

something close to “thinking.”

Page 4: A.I. and Games

Turing Test

Page 5: A.I. and Games

Algorithms

An algorithm is a sequence of

-Finite

-Well-defined

instructions for completing a task.

Page 6: A.I. and Games

Branch

Page 7: A.I. and Games

Loop

Page 8: A.I. and Games

Search trees

Page 9: A.I. and Games

Search trees

Page 10: A.I. and Games

Search trees

Page 11: A.I. and Games

Search trees

Node

Branch

Leaf node

Page 12: A.I. and Games

Search trees

Page 13: A.I. and Games

Search tree used in games

Node

Branch

Leaf node

Page 14: A.I. and Games

Search tree used in games

Page 15: A.I. and Games

MinMax

-2 very good for the OTHER player

+1, pretty good, but risky

+2 very good

Page 16: A.I. and Games

MinMax

Page 17: A.I. and Games

MinMax

Page 18: A.I. and Games

Project progress

• Learned how search trees are applied to games

• Sorting algorithms

• Search algorithms

Page 19: A.I. and Games

Program example

Player makes a move

Computer chooses random move out of the remaining ones available

Computer makes move

Has somebody won?

Congratulate winner

Update board

Whose turn is it?

Yes

Player

No

Computer

Page 20: A.I. and Games

Program example

Player makes a move

Computer calculates all remaining possible moves

Computer makes move

Has somebody won?

Update board

Whose turn is it?

Yes

PlayerComputer Computer gives a

value to each move

Computer chooses the set of moves that let it win with the biggest advantage (highest number)

Page 21: A.I. and Games

Quiz slide

1. What is the purpose of the Turing test?

2. Describe a possible situation that could be represented by a search tree.

3. Explain how AIs compensate for lack of intuition with greater speed and processing power.

4. What does a leaf node represent in the search tree for a game.

Page 22: A.I. and Games

references• Wikipedia

• Google Image Search

• Shoman, Yoav. "Computer Science and Game Theory." www.acm.org. Association for Computing Machienery. 04 Feb. 2009 <http://www.acm.org/>.

• http://www.ocf.berkeley.edu/~yosenl/extras/alphabeta/alphabeta.html

• http://ai-depot.com/articles/minimax-explained/