How to tic tac toe computer move?



How to tic tac toe computer move?..

Answer / Arnima Sharma

To make a computer play Tic Tac Toe, you can implement the Minimax algorithm with alpha-beta pruning or use the Monte Carlo Tree Search (MCTS). The basic idea is for the computer to choose the move that minimizes the maximum possible score of the opponent.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Explain the use of try: except raise, and finally?

1 Answers  


What is the use of ‘self’ keyword in python?

1 Answers  


What is the purpose of _init_() function in python?

1 Answers  


How do I run a python script in windows?

1 Answers  


What are the supported data types in python?

1 Answers  


Why cannot lambda forms in Python contain statements?

1 Answers  


What is the maximum possible length of an identifier?

1 Answers  


Tell me what is the difference between django, pyramid, and flask?

1 Answers  


Write an expression that evaluate to true?

1 Answers  


What is special about python?

1 Answers  


What is super () in python?

1 Answers  


Why do we need operator overloading?

1 Answers  


Categories