1 / 27

CHALLENGE OF THE GOBOTS

CHALLENGE OF THE GOBOTS. Spring 2009 Midterm Mike Tran Chris Cuneo Arturo Salazar Allen Dunlea. Gobots. Summary PAGE rundown Block Diagram Key Algorithms Demo Next Steps. Summary.

chad
Download Presentation

CHALLENGE OF THE GOBOTS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CHALLENGE OF THE GOBOTS Spring 2009 Midterm Mike Tran Chris Cuneo Arturo Salazar Allen Dunlea

  2. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  3. Summary Our project is to create an agent that will be able to play the game of Go on a competitive level against the members in our group. The decision making process of the agent will involve using a MAXIMIN tree to evaluate the strengths of each possible move.

  4. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  5. PAGE Rundown

  6. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  7. Block Diagram placeStone

  8. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  9. Key Algorithms We will use a simple heuristic to evaluate the “strength” of a board H(move) = stones captured + white’s actual territory owned + (0.25) white’s loosely owned territory – black’s actual territory owned – (0.25) black’s loosely owned territory – stones lost

  10. MAXIMIN Tree • The agent will use a MAXIMIN tree evaluation algorithm along with alpha-beta pruning to create possible actions. • Decides which stone placement will give the best possible outcome for the GoBot on the current board.

  11. MAXIMIN Tree Each new board will generate a tree of new boards

  12. MAXIMIN Tree Each one of the new boards will be evaluated according to its strength Strength = 4 Strength = 2 Strength = 1

  13. MAXIMIN Tree The strongest new board will be chosen Strength = 2 Strength = 4 Strength = 1

  14. Stone Capturing • H(move) = stones captured + white’s actual territory owned + (0.25) white’s loosely owned territory – black’s actual territory owned – (0.25) black’s loosely owned territory – stones lost • To capture a stone (or stones) surround their immediate sides with • Your stones • Or the edge of the board

  15. Stone Capturing Uh oh!

  16. Stone Capturing BAM!

  17. Stone Capturing SUCCESS

  18. Stone Capturing A weaker move

  19. Stone Capturing Whoops!

  20. Actual Territory • H(move) = stones captured + white’s actual territory owned + (0.25) white’s loosely owned territory – black’s actual territory owned – (0.25) black’s loosely owned territory – stones lost • The actual territory is the number of intersections surrounded by a players stones on the board.

  21. Loosely Owned Territory Loosely owned Territory • H(move) = stones captured + white’s actual territory owned +(0.25) white’s loosely owned territory – black’s actual territory owned – (0.25) black’s loosely owned territory – stones lost Problem • Not all moves capture Opponent Stones • Not all moves gain Territory How do we consider the benefits of such moves?

  22. Loosely Owned Territory No one has Any Territory and No Immediate danger of being captured.

  23. Loosely Owned Territory We can assume that we loosely own territory because it is only a few steps away from being captured Territory.

  24. Loosely Owned Territory How we calculate: • We say we loosely own a territory if we have another stone within 3territories from us that can possible be used to surround. • Meaning if we have a Wall or Similar Stone within 3 Territories in any direction of our stone then we loosely own the area in between them.

  25. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  26. Gobots • Summary • PAGE rundown • Block Diagram • Key Algorithms • Demo • Next Steps

  27. Next Steps • Continue implementing algorithms • Strengthen our heuristic • Optimize to improve depth of trees

More Related