{"title":"Implementation of a Tic-Tac-Toe game Using Python Environment for gaming application","authors":"Chitaraj Karan, Harsh Raj Karan, Abhijith Jayarajendra Nayak, Khushi, H.V. Manjunath, Adithya T.G., Pavithra G., Sindhu Sree M, T.C.Manjunath","doi":"10.46647/ijetms.2022.v06i06.056","DOIUrl":null,"url":null,"abstract":"In this paper, we present the implementation of ta tic-tac toe game using the python environment for any gaming application problem. Two players compete in the game of Tic-Tac-Toe, which is played on a 3 by 3 grid. Each participant is given a unique symbol (X or O) to represent the slot they are responsible for filling. The player who first covers a horizontal, vertical, or diagonal row of the board with solely their symbols wins the game. This work, which was written in Python using Pygame on a Jupyter Notebook, suggests a winning Tic-Tac-Toe strategy. This algorithm is made to act like a player while the computer maximises the odds of success by acting in accordance with the model's intelligence. The purpose of this work is to develop a Tic-Tac-Toe strategy in which the game will continue until one player wins and will conclude in a draw if no player selected the optimal spots that may have increased their chances of winning. The work presented here is the mini-project work of the 2nd sem students of electronics & communication engineering department of dayananda sagar college of engg., bangalore.","PeriodicalId":202831,"journal":{"name":"international journal of engineering technology and management sciences","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"international journal of engineering technology and management sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.46647/ijetms.2022.v06i06.056","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this paper, we present the implementation of ta tic-tac toe game using the python environment for any gaming application problem. Two players compete in the game of Tic-Tac-Toe, which is played on a 3 by 3 grid. Each participant is given a unique symbol (X or O) to represent the slot they are responsible for filling. The player who first covers a horizontal, vertical, or diagonal row of the board with solely their symbols wins the game. This work, which was written in Python using Pygame on a Jupyter Notebook, suggests a winning Tic-Tac-Toe strategy. This algorithm is made to act like a player while the computer maximises the odds of success by acting in accordance with the model's intelligence. The purpose of this work is to develop a Tic-Tac-Toe strategy in which the game will continue until one player wins and will conclude in a draw if no player selected the optimal spots that may have increased their chances of winning. The work presented here is the mini-project work of the 2nd sem students of electronics & communication engineering department of dayananda sagar college of engg., bangalore.