Mathematical Game Theory (Drawing gametree for Tic-Tac-Toe

In summary: Oh he knows lol.. He's the chair of the math department and specializes in Game Theory. He teaches the two class sequence once every two years and every person I've talked to who has taken it in the past said that he simply gives more work than any human can complete in a term. I've also heard he grades relatively leniently though and doesn't expect anyone to finish all his assignments.
  • #1
ctownballer03
8
0

Homework Statement



Draw out the game tree for tic-tac-toe

Homework Equations

The Attempt at a Solution



I'm just thinking about it and I don't know how to start. To draw out the entire gametree, we'd have thousands and thousands of branches. So based on symmetry there is only 3 starting points we need to reference I think. From there I'm just trying to see which plays would be symmetric, but I'm still lost

The key is to use symmetry somehow to make the game tree more reasonable, but I'm really struggling and just looking for advice/hints.
 
Last edited:
Physics news on Phys.org
  • #2
Welcome to PF!

Try staring with the center move. Nearly everyone who plays chooses that move. From there you have two moves corner or side...
 
  • #3
jedishrfu said:
Welcome to PF!

Try staring with the center move. Nearly everyone who plays chooses that move. From there you have two moves corner or side...
Thanks!

So my understanding is that due to symmetry the only three starting positions I'd have to show in the game tree is a corner, a side, and the middle, since rotating the game would result in every starting point being taken. So symmetrically speaking, I believe these three starting points should cover every starting point.
 
  • #4
ctownballer03 said:
Thanks!

So my understanding is that due to symmetry the only three starting positions I'd have to show in the game tree is a corner, a side, and the middle, since rotating the game would result in every starting point being taken. So symmetrically speaking, I believe these three starting points should cover every starting point.
Yes. How many positions are there after one move each?
Do you have to cover every position, or are you allowed to assume a player will always take an obvious win? Or perhaps you only need to create a game tree which provides the first player with a winning strategy?
 
  • #5
haruspex said:
Yes. How many positions are there after one move each?
Do you have to cover every position, or are you allowed to assume a player will always take an obvious win? Or perhaps you only need to create a game tree which provides the first player with a winning strategy?

I'm pretty sure I have to cover every position but I'm not 100%, I was wondering the same thing earlier today so I e-mailed my professor about it but I haven't heard back.

No, I'm supposed to be making a game tree for a tic-tac-toe, ie every situation. The only hint he gives is to utilize symmetry to make it more doable without taking up 200 sheets of paper.
 
  • #7
ctownballer03 said:
I'm pretty sure I have to cover every position but I'm not 100%, I was wondering the same thing earlier today so I e-mailed my professor about it but I haven't heard back.

No, I'm supposed to be making a game tree for a tic-tac-toe, ie every situation. The only hint he gives is to utilize symmetry to make it more doable without taking up 200 sheets of paper.
I have a nasty feeling your prof has not realized how messy this is going to get. After two moves each, I calculate there are over 80 positions.
 
  • #8
haruspex said:
I have a nasty feeling your prof has not realized how messy this is going to get. After two moves each, I calculate there are over 80 positions.

That sounds right I remember seeing the solution in an old book on Basic game programming published by Radio Shack in the heyday of first personal computers.
 
  • #9
haruspex said:
I have a nasty feeling your prof has not realized how messy this is going to get. After two moves each, I calculate there are over 80 positions.

Oh he knows lol.. He's the chair of the math department and specializes in Game Theory. He teaches the two class sequence once every two years and every person I've talked to who has taken it in the past said that he simply gives more work than any human can complete in a term. I've also heard he grades relatively leniently though and doesn't expect anyone to finish all his assignments.
 

1. What is game theory?

Game theory is a branch of mathematics that studies ways in which rational agents make decisions in strategic situations. It involves analyzing the outcomes and strategies of different players in a game to determine the best course of action.

2. How does game theory apply to Tic-Tac-Toe?

In the game of Tic-Tac-Toe, players must make strategic decisions in order to win. By using game theory, we can create a gametree that shows all possible moves and their corresponding outcomes, allowing players to make the best decisions.

3. What is a gametree?

A gametree is a visual representation of a game, showing all possible moves, their outcomes, and the subsequent moves that can be made. It is commonly used in game theory to analyze and strategize in games.

4. How do you draw a gametree for Tic-Tac-Toe?

To draw a gametree for Tic-Tac-Toe, start with the empty game board and list all possible moves for both players. Then, for each move, list the subsequent moves and their outcomes. Continue this process until all possible outcomes are shown. The resulting gametree will have a root node, branches representing each move, and leaf nodes representing the final outcome of the game.

5. Can a gametree be used to guarantee a win in Tic-Tac-Toe?

While a gametree can help players make the best decisions and increase their chances of winning, it cannot guarantee a win in Tic-Tac-Toe. This is because the opponent's moves and strategies can also affect the outcome of the game. However, by analyzing the gametree, players can make more informed decisions and potentially increase their chances of winning.

Similar threads

  • General Math
6
Replies
195
Views
19K
  • Calculus and Beyond Homework Help
Replies
3
Views
3K
Replies
2
Views
886
  • Beyond the Standard Models
Replies
12
Views
984
  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Science and Math Textbooks
Replies
4
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
Replies
2
Views
713
  • General Discussion
Replies
32
Views
14K
  • Engineering and Comp Sci Homework Help
Replies
11
Views
9K
Back
Top