Implementation of a Tic-Tac-Toe game Using Python Environment for gaming application

Chitaraj Karan, Harsh Raj Karan, Abhijith Jayarajendra Nayak, Khushi, H.V. Manjunath, Adithya T.G., Pavithra G., Sindhu Sree M, T.C.Manjunath
{"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.
使用Python环境实现一字棋游戏应用程序
在本文中,我们提出了使用python环境来实现任何游戏应用问题的井字棋游戏。两名玩家在一个3乘3的格子里玩井字游戏。每个参与者都有一个独特的符号(X或O)来代表他们负责填充的插槽。最先用自己的符号覆盖棋盘水平、垂直或对角线一行的玩家获胜。这项工作是用Python在Jupyter笔记本上使用Pygame编写的,它提出了一个获胜的井字棋策略。这个算法被设计成像一个玩家,而计算机则根据模型的智能来最大化成功的几率。这项工作的目的是开发一种井字棋策略,在这种策略中,游戏将继续进行,直到有一名玩家获胜,如果没有玩家选择可能增加获胜机会的最佳位置,游戏将以平局结束。这里展示的作品是大南达工程学院电子与通信工程系二年级学生的小项目作品。,班加罗尔。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信