1
20070419 Chap6 1
Chapter6
Adversarial Search
20070419 Chap6 2
Game Theory
- Studied by mathematicians, economists, finance
- In AI we limit games to:
- deterministic
- turn-taking
- two-player
- zero-sum (零和遊戲或 Win-lose Game;你死我活)
- perfect information
This means deterministic, fully observable environments in which there are two agents whose actions must alternate and in which the utility values at the end of the game are always equal and opposite.
20070419 Chap6 3
Types of Games
- Game playing was one of the first tasks undertaken in AI.
- Machines have surpassed humans on checkers and Othello,
have defeated human champions in chess and backgammon.
- In Go, computers perform at the amateur level.
Bridge (橋牌), Poker(梭哈) Blind Tictactoe Imperfect information Backgammon(西洋雙陸棋) Monopoly (地產大亨, 大富翁) Chess, Go, Othello Checkers(西洋跳棋) Perfect information Chance Deterministic
20070419 Chap6 4
Games as Search Problems
- Games offer pure, abstract competition.
- A chess-playing computer would be
an existence proof of a machine doing something generally thought to require intelligence.
- Games are idealization of worlds in which
- the world state is fully accessible;
- the (small number of) actions are well-defined;
- uncertainty
due to moves by the opponent due to the complexity of games
20070419 Chap6 5
Games as Search Problems (cont.-1)
- Games are usually much too hard to solve.
For example, in a typical chess game,
- Average branching factor: 35
- Average moves by each player: 50
- Total number of nodes in search tree :
35100 or 10154
(although total number of different legal positions: 1040)
- Time limits for making good decisions
20070419 Chap6 6
Games as Search Problems (cont.-2)
- Initial State
- How does the game start?
- Successor Function
- A list of legal (move, state) pairs for each state
- Terminal Test
- Determines when game is over
- Utility Function
- Provides numeric value for all terminal states