80 likes | 234 Views
Backgammon, using GA. Aideen NasiriShargh March 2007. Outline. Introduction: What’s Backgammon Player: The naive programming effort Parameterization The Island Naive first-time experiences Still TO-DO. What is Backgammon. A traditional Turkish game Two Player
E N D
Backgammon, using GA Aideen NasiriShargh March 2007
Outline • Introduction: What’s Backgammon • Player: The naive programming effort • Parameterization • The Island • Naive first-time experiences • Still TO-DO
What is Backgammon • A traditional Turkish game • Two Player • No absolute Winner • Chance!
Player: Naive Programming • Implementation: The technical nightmare! • Coding is not the aim of this course • Now, Instruments are ready • ExpectiMiniMax, fixed issue • AlphaBeta, makes no differ • MiniMax’s depth, 2 and no more • What Else? • How to specify a player?
Parameterization • Evaluate Function, Where to Start! • Manhattan Distance, base unit • Badness: • On Bar: 80 → 182.8 • Blot: 20 → 7 • [mult] Blot on HomeRow: 1.5 → 1 • [mult] Presence: 2 → 4.15 • Goodness: • Connect: -10 → -47.8 • Eaten: -10 → -78.6 • Wall: -10 → -10 • [mult] Wall on HomeRow: 3 → 5.8
Parameterization • Evaluate Function, Where to Start! • Manhattan Distance, base unit • Badness: • On Bar: 80 → 182.8 • Blot: 20 → 7 • [mult] Blot on HomeRow: 1.5 → 1 • [mult] Presence: 2 → 4.15 • Goodness: • Connect: -10 → -47.8 • Eaten: -10 → -78.6 • Wall: -10 → -10 • [mult] Wall on HomeRow: 3 → 5.8
The Island • Start with • One Minimum values (-∞ for both goods and bads) • One Maximum values (+ ∞ for both) • One good so far • Game is not safe! More than 75% is not guaranteed. • 5 games is a set • Tournament of 20 players • 50 Generations. • => 4 days!