ShashankaShekharSharma / Python-Gaming

This Python Gaming Programs repository represents a synergistic convergence of programming acumen, as orchestrated by the collaborative endeavors of Shashanka Shekhar Sharma, Chaitanya Singh Negi, and Aaryan Anand, culminating in the creation of a suite of captivating interesting games.
MIT License
5 stars 5 forks source link

Create tictactoe.py #15

Closed AaryanAnand10 closed 9 months ago

AaryanAnand10 commented 9 months ago

This Python script utilizes the Tkinter library to implement a graphical Tic-Tac-Toe game. The game logic is managed by the TicTacToeGame class, handling player moves, checking for a winner, and resetting the game. The graphical user interface is created with the TicTacToeBoard class, featuring a menu bar for options and a grid of buttons representing the game board. Players take turns making moves by clicking on the buttons, and the application dynamically updates the display to show the current game state, including win or tie conditions.