Fahim Ashhab avatar

Game Trees ( An Artificial intelligence concept)

fanhim

Published: 02 May 2020 › Updated: 02 May 2020Game Trees ( An Artificial intelligence concept)

Game Trees ( An Artificial intelligence concept)

Hello guys. This is an important topic . After this topic i will describe another two very interesting topics (Mini-Max Algorithm in Artificial Intelligence , Alpha-beta pruning ) I hope this tutorial will be useful to many.

Game Trees

  1. are used to represent two-player games.
  2. Nodes in the tree represent positions.
  3. Edges between nodes represent moves.
  4. Leaf nodes represent won, lost or drawn positions.

We all played a simple game Tic Tac Toe . Only two player can play this game at a time.. but when we played this game against Computer. Then how did it give its move?. This think is very important. It give its move with the help of this game trees.

this video can help you to understand more:

in the video you guys saw that it looked like a tree. so it is called game trees. For your basic this all moves are saved in Database. AI give his moves according to our moves.
i think this picture can help you more:

f5963a7a-1e30-4f80-b669-3f6c84cacc23.jfif

Here ,

  1. +1 if the position is a win for X.
  2. -1 if the position is a win for O.
  3. 0 if the position is a draw.

Leave Game Trees ( An Artificial intelligence concept) to:

Written by

Read more #hive posts


Best Posts From Fahim Ashhab

We have not curated any of fanhim's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Fahim Ashhab