Python Forum
Tkinter Tic Tac Toe With Enhanced Features - Completed
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter Tic Tac Toe With Enhanced Features - Completed
#1
My first python project, an advanced version of Tic Tac Toe on Tkinter, incorporating enhanced features, can be downloaded at the following link:
Tkinter Tic Tac Toe-MulltiBoard Variable Strength

I would be thankful if members of this forum could kindly try it out and let me know regarding any aspects needing attention or improvement.

Some of the features incorporated in this version, are listed below:
1 – Option for multiple board sizes (say 3x3, 4x4, 5x5, 6x6, 7x7 & 8x8).

2 – Option for varying difficulty levels (i.e. computer strength) as follows – (options: 0 / 1 / 2, with default Level as 1):
Level 0 - Computer plays random moves and discontinues blocking opponents victory, after 50% slots get filled up
Level 1 - Computer plays optimum moves but discontinues blocking opponents victory, after 70% slots get filled up
Level 2 - Computer plays at full strength as follows:
(a) Firstly, go for immediate win if available.
(b) Otherwise, block opponent if on the verge of immediate win.
© Otherwise, pick up a move from shortest winning path available.

3 – Option to display running score. Apart from overall totals, the break up for selected board sizes & difficulty levels is also displayed (tot games, player wins, computer wins & draws).

4 – On computer’s move, there is brief blinking of destination slot. This can be a convenience as the board size gets larger.

5 – Option to start a fresh game when desired.

6 – Detect stalemate if a winning combination is no longer feasible for either player & announce the game as drawn, even though empty slots are still available. This can be a convenience as the board size gets larger.

7 – Overall space occupied by play board remains constant. The size of individual play buttons gets adjusted accordingly as per the number of rows x columns selected.
A.D.Tejpal
Reply
#2
Nice little program. Reminds me of a game from a Windows 3.11 entertainment pack I had back in the day... except this didn't freeze my machine!

Who else remembers "Ski Free"? lol
Reply
#3
(Dec-10-2019, 06:07 AM)michael1789 Wrote: Nice little program.

Glad you liked it. Thanks for kindly trying it out.
A.D.Tejpal
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Brick 3 features for python flask state. aaronxiongli 0 2,643 Nov-09-2020, 03:19 AM
Last Post: aaronxiongli
  Enhanced properties with some Metaprogramming mnesarco 0 1,717 Jul-24-2020, 05:42 PM
Last Post: mnesarco
  Tkinter Tic Tac Toe With Enhanced Features – Suggestions Invited adt 0 2,868 Dec-06-2019, 03:10 PM
Last Post: adt
  my earliest completed script Skaperen 0 1,961 Mar-08-2019, 09:50 PM
Last Post: Skaperen
  [link]Creating-a-repo-for-your-completed-scripts metulburr 0 7,543 Aug-29-2018, 01:19 PM
Last Post: metulburr
  Criticism on one of my first completed programs in Python Zombie_Programming 5 3,915 Jul-12-2018, 07:11 AM
Last Post: Zombie_Programming
  completed module: validip.py Skaperen 8 7,264 Jan-04-2017, 06:39 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020