Skip to content

(Personal Project) A Windows XP Era Inspired Tic-Tac-Toe Game. Implemented in Python using Tkinter. Travel Back to 2004! [πŸ“Ž]

Notifications You must be signed in to change notification settings

Azaze7/Tic-Tac-Toe-WindowsXP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 

Repository files navigation

Tic-Tac-Toe-WindowsXP

A Windows XP Era Inspired Tic-Tac-Toe Game. Implemented in Python using Tkinter, Travel Back to 2004!

INSERT PICTURE HERE

πŸ“Ž It looks like you're being nostalgic! Would you like help?

πŸ–₯️ Windows XP was the first exposure to a computer I ever got to experience.

  • At the young age of 3, I spent untold hours playing games on the computer at my grandma's house.
  • It was in these simple inbuilt games and internet explorer that I became interested in technology.

πŸ” This Project's goal was to create a game I could have played as a child, while also helping devolp my skills as a coder.

  • It refined my knowledge of implementing GUI's using Tkinter.
  • It also was just a fun coding project in Python.

πŸ‘€ Look & Feel

πŸͺŸ My major priority in the development of this project was to copy the aesthetic and feel of the built-in applications that ran on Windows XP.

  • This meant gray buttons, recessed text, and pop-up windows for completions.
    • The window size is locked at 500x500 pixels as well, since MineSweeper was unable to be resized.
  • I also implemented a color picker for the player, using a 16-color limit with an open pallette on the screen.
    • This was inspired by early paint programs I would play with.

⌨️ Coding & Algorithm

🐍 This code was written in Python.

  • This did lead to some problems getting it to run on my Windows XP Virtual Machine.
  • This was simply due to the age of Windows XP, which stopped getting official support on April 8, 2014.
  • I ended up having to install a user generated Python interpreter to get it to run in Windows XP, found on this old reddit thread:
  • Of course, you can simply run this on your mordern OS without issue! [πŸ™‚]

πŸ€– The AI for the game uses the Minimax Algorithm.

  • This means the the AI attemps to minimize the loss via a worst case scenario.
  • Since Tic-Tac-Toe is a fairly simple game with only 9 possible moves, I have given the AI the data set of all 8 possible winning combinations.
  • It tries to choose moves based on boxes that it can link to win the game.

  • If the AI is chosen to go first in a single-player game, it will choose a box randomly and try to build a win based on combinations that include this box.
  • Here is a link to more information about the minimax algorithm:

About

(Personal Project) A Windows XP Era Inspired Tic-Tac-Toe Game. Implemented in Python using Tkinter. Travel Back to 2004! [πŸ“Ž]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published