GAME OF TIC-TAC-TOE: SIMULATION USING MIN-MAX ALGORITHM
Main Article Content
Abstract
Tic Tac Toe is a well-known game played across all age groups. It’s a simple fun game played with two players. There is a 3x3 grid formed by two vertical and two horizontal lines. The user can fill these nine places with either crosses (‘X’) or noughts (‘O’). The aim of the game is to win by placing three similar marks in a horizontal, vertical, or diagonal row.
In this paper, a simulation algorithm is presented to predict the win, or draw of a game by knowing the first move of a player. The game of tic-tac-toe is simulated using Min-max algorithm. The concept of combinational game theory is utilized to implement this game. This algorithm calculates only one step ahead using min-max algorithm. In an ideal scenario, a player must calculate all the possibilities to ensure the success. It’s a small 3x3 game, so the state space tree generated will be short.
In this paper, a simulation algorithm is presented to predict the win, or draw of a game by knowing the first move of a player. The game of tic-tac-toe is simulated using Min-max algorithm. The concept of combinational game theory is utilized to implement this game. This algorithm calculates only one step ahead using min-max algorithm. In an ideal scenario, a player must calculate all the possibilities to ensure the success. It’s a small 3x3 game, so the state space tree generated will be short.
Downloads
Download data is not yet available.
Article Details
Section
Articles
COPYRIGHT
Submission of a manuscript implies: that the work described has not been published before, that it is not under consideration for publication elsewhere; that if and when the manuscript is accepted for publication, the authors agree to automatic transfer of the copyright to the publisher.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work
- The journal allows the author(s) to retain publishing rights without restrictions.
- The journal allows the author(s) to hold the copyright without restrictions.