

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Assignment; Class: Algorithms and Data Structures; Subject: Computer Science; University: University of Alabama - Birmingham; Term: Spring 2008;
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!
April 3, 2008
Understand game tree
A game tree is a graphical representation of the game. We may consider a game tree is a directed graph whose nodes are positions in a game and whose edges are moves. The complete game tree for a game is the game tree starting at the initial position and containing all possible moves from each position. “Tic-Tac-Toe” is a two-player game. In this game, O and X symbols are used to represent the two players respectively. For each turn, players will mark their symbol in a 3×3 grid. The player who succeeds in placing three respective marks in a horizontal, vertical or diagonal row wins the game.
April 3, 2008
In this exercise, you need to build a game tree for “Tic-Tac-Toe”. The game tree will be used in the Programming Assignment 6 for computer to decide its movement.
You may refer to the following links to see a demonstration of the Tic-Tac-Toe.
http://rintintin.colorado.edu/~epperson/Java/TicTacToe.html