cs325 artificial intelligence ch 5 games
play

CS325 Artificial Intelligence Ch. 5, Games! Cengiz Gnay, Emory - PowerPoint PPT Presentation

CS325 Artificial Intelligence Ch. 5, Games! Cengiz Gnay, Emory Univ. vs. Spring 2013 Gnay Ch. 5, Games! Spring 2013 1 / 19 AI in Games A lot of work is done on it. Why? Gnay Ch. 5, Games! Spring 2013 2 / 19 AI in Games A lot of


  1. CS325 Artificial Intelligence Ch. 5, Games! Cengiz Günay, Emory Univ. vs. Spring 2013 Günay Ch. 5, Games! Spring 2013 1 / 19

  2. AI in Games A lot of work is done on it. Why? Günay Ch. 5, Games! Spring 2013 2 / 19

  3. AI in Games A lot of work is done on it. Why? Fun, provide entertainment Also, simpler than life: toy problems Günay Ch. 5, Games! Spring 2013 2 / 19

  4. AI in Games A lot of work is done on it. Why? Fun, provide entertainment Also, simpler than life: toy problems Types of game AIs: Günay Ch. 5, Games! Spring 2013 2 / 19

  5. AI in Games A lot of work is done on it. Why? Fun, provide entertainment Also, simpler than life: toy problems Types of game AIs: zerg rush Adversaries Günay Ch. 5, Games! Spring 2013 2 / 19

  6. AI in Games A lot of work is done on it. Why? Fun, provide entertainment Also, simpler than life: toy problems Types of game AIs: zerg rush Adversaries Simulated reality (non-playable characters, world reaction to player). Günay Ch. 5, Games! Spring 2013 2 / 19

  7. AI in Games A lot of work is done on it. Why? Fun, provide entertainment Also, simpler than life: toy problems Types of game AIs: zerg rush Adversaries Simulated reality (non-playable characters, world reaction to player). Game theory (next class) Günay Ch. 5, Games! Spring 2013 2 / 19

  8. Entry/Exit Surveys Exit survey: Hidden Markov Models In the mining robot example, when is the uncertainty of the robot’s trajectories reduced? How is Particle Filtering like and unlike a water filter? Entry survey: Adversarial Games (0.25 points of final grade) What algorithm would be useful in games? Give examples with two different algorithms you learned in class. How would you help an agent solve a problem against an adversary? Think of a game like chess or checkers for starters. Günay Ch. 5, Games! Spring 2013 3 / 19

  9. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: Günay Ch. 5, Games! Spring 2013 4 / 19

  10. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Günay Ch. 5, Games! Spring 2013 4 / 19

  11. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: Günay Ch. 5, Games! Spring 2013 4 / 19

  12. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Günay Ch. 5, Games! Spring 2013 4 / 19

  13. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: Günay Ch. 5, Games! Spring 2013 4 / 19

  14. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Günay Ch. 5, Games! Spring 2013 4 / 19

  15. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: Günay Ch. 5, Games! Spring 2013 4 / 19

  16. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) Günay Ch. 5, Games! Spring 2013 4 / 19

  17. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) MDPs, Reinforcement Learning: Günay Ch. 5, Games! Spring 2013 4 / 19

  18. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) MDPs, Reinforcement Learning: pathfinding, optimal strategy for zerg Günay Ch. 5, Games! Spring 2013 4 / 19

  19. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) MDPs, Reinforcement Learning: pathfinding, optimal strategy for zerg HMMs, Particle Filter: Günay Ch. 5, Games! Spring 2013 4 / 19

  20. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) MDPs, Reinforcement Learning: pathfinding, optimal strategy for zerg HMMs, Particle Filter: state estimation and future prediction, partially observable environment with traps (sonic?) Günay Ch. 5, Games! Spring 2013 4 / 19

  21. Previously on AI for Games. . . Can previous algorithms help in games? Single-state agent: vacuum world, solving a maze Bayes Nets: card games Machine Learning: guessing games, learning user moves Logic, planning: board game with complex rules (Machinarium) MDPs, Reinforcement Learning: pathfinding, optimal strategy for zerg HMMs, Particle Filter: state estimation and future prediction, partially observable environment with traps (sonic?) None for adversaries? Günay Ch. 5, Games! Spring 2013 4 / 19

  22. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game Chess, Checkers Robot Soccer Poker Hide-and-go-seek Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  23. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers Robot Soccer Poker Hide-and-go-seek Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  24. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer Poker Hide-and-go-seek Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  25. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker Hide-and-go-seek Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  26. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker X X X X Hide-and-go-seek Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  27. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker X X X X Hide-and-go-seek X X Starcraft Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  28. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker X X X X Hide-and-go-seek X X Starcraft X X X Battle for Wesnoth Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  29. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker X X X X Hide-and-go-seek X X Starcraft X X X Battle for Wesnoth X X X Halo/CoD/MoH Solitaire Minesweeper Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  30. Properties of Games as Agent Environment Stochastic Part.-Observ. Unknown Adversarial Game X Chess, Checkers X X X Robot Soccer X X Poker X X X X Hide-and-go-seek X X Starcraft X X X Battle for Wesnoth X X X Halo/CoD/MoH X Solitaire X Minesweeper X Zuma Günay Ch. 5, Games! Spring 2013 5 / 19

  31. Single Player Games → → → ← ← ← Deterministic, single-state agent → Single-player game using tree search initial state player state possible actions results of actions utility values goal test Günay Ch. 5, Games! Spring 2013 6 / 19

  32. Adversarial Games Adversarial Games 1 Start by adapting single-state agent to games 2 Define adversary as someone who wants you to lose 3 And makes decisions based on the outcome of your moves Günay Ch. 5, Games! Spring 2013 7 / 19

  33. Adversarial Games Adversarial Games 1 Start by adapting single-state agent to games 2 Define adversary as someone who wants you to lose 3 And makes decisions based on the outcome of your moves 2-player games: Deterministic Zero-sum : Reward distributed between players Minimax algorithm: max & min players choose +/- utility, resp. Günay Ch. 5, Games! Spring 2013 7 / 19

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend