How many possible games of tic-tac-toe are there

Assignment Help Computer Engineering
Reference no: EM132105023

This problem exercises the basic concepts of game playing, using tic-tac-toe (XO GAME) as an example.

We define Xn as the number of rows, columns, or diagonals with exactly n X's and no O's.

Similarly, On is the number of rows, columns, or diagonals with just n O's. The utility function assigns +1 to any position with X3 = 1 and -1 to any position with O3 = 1.

All other terminal positions have utility 0. For nonterminal positions, we use a linear evaluation function defined as Eval(s) = 3X2(s) + X1(s) - (302 (s) + 01(s).

a. Approximately how many possible games of tic-tac-toe are there?

b. Show the whole game tree starting from an empty board down to depth 2 (i.e., one X and one O on the board), taking symmetry into account.

c. Mark on your tree the evaluations of all the positions at depth 2.

d. Using the minimax algorithm, mark on your tree the backed-up values for the positions at depths 1 and 0, and use those values to choose the best starting move.

e. Circle the nodes at depth 2 that would not be evaluated if alpha-beta pruning were applied, assuming the nodes are generated in the optimal order for alpha-beta pruning.

Reference no: EM132105023

Questions Cloud

Budgeted cash payments for march are : Lark Corp's direct materials budget shows total cost of direct materials purchases for January $250,000, February $300,000 and March $350,000.
How much is swifty break-even point : Swifty Corporation sells a product w a contribution margin of $12 per unit, fixed costs of $223200, and sales for the current year of $260000.
Simulate the actions taken by the logging and recovery : For the actions listed below, show Transaction Table (XT) and Dirty Page Table (DPT) after each action.
How much is sheridans contribution margin ratio : Sheridan Company has a product with a selling price per unit of $200, the unit variable cost is $30, and the total monthly fixed costs are $300000.
How many possible games of tic-tac-toe are there : Show the whole game tree starting from an empty board down to depth 2 (i.e., one X and one O on the board), taking symmetry into account.
How do international corporations utilize : How do international corporations utilize the media to enhance the public image of the firm during crisis?
Calculate the break even point : a) Calculate the Break Even Point(BEP) in units of output and sales(RM) using the contribution margin method
Calculate the revised break-even point : The projected sales for the following year for products X, Y, and Z are $800,000, $500,000 and $900,000 respectively. Calculate the revised break-even point (in
Provide two methods on this library for sorting books : Provide two methods on this Library for sorting books after they are read in from the data file.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd