Prev: W10 ; Next: W12

# Lecture Note

📗 Slides
Lecture 19: Slides, With Quiz
Lecture 20: Slides, With Quiz
Annotated Lecture 19 Section 1: Slides
Annotated Lecture 20 Section 1: Slides
Annotated Week 11 Section 2: Part I, Part II

📗 Websites
Tic Tac Toe: Link
Nim Game: Link 1, Link 2
Rock paper scissors: Link 1, Link 2
Prisoner Dilemma: Link

📗 YouTube Video
How to solve a simple game with Chance? Link
How to figure out which branches can be pruned using Alpha Beta algorithm? Simple example: Link, Complicated example: Link
How to find the Nash equilibrium of a zero sum game? Link
How to do iterated elimination of strictly dominated strategies (IESDS)? Link
How to find the mixed strategy Nash equilibrium of a simple 2 by 2 game? Link
What is the median voter theorem? Link
How to guess and check a mixed strategy Nash equilibrium of a simple 3 by 3 game? Link
How to solve the mixing probabilities of the volunteer's delimma game? Link
How to solve the Rubinstein Bargaining problem? Link

# Written (Math) Problems

Submit on Canvas: PDF
Submit to M11 due August 12.

# Programming Problem

📗 Short Instruction
(1) Play Tic Tac Toe to get an idea of the rule of the game.
(2) Given the initial move (by the opponent) based on your ID. Solve for the set of all solutions assuming the opponent always use the optimal strategy.
Type in your ID:
Start with an X in position:
 

📗 Files to submit
(1) output.txt contains lines with numbers between 0 and 8 (row one = 0, 1, 2, row two = 3, 4, 5, row three = 6, 7, 8). No commas in between. Each line contains a valid sequence of states consistent with the value of the game. Include actions of both players including the initial position of X. For example, if your initial state is an X in position 0, one possible sequence is 0612487.
(2) comments.txt contains information on how to run your program, in particular, the names of the data files are required.
(3) code.

📗 Things to try
(1) Try to use Alpha Beta pruning instead of going through all subgames.

More (nonessential) details and hints: PDF.

📗 TAs' Solution
(1) Java: Link written by Ainur
(2) Python: Link written by Tan
Important note: You are not allowed to copy any code from the solution. The deadline for resubmission without 50 percent penalty is August 18.





Last Updated: November 09, 2021 at 12:05 AM