Skip to content

A graphical user interface that allows the user to play tic tac toe against the computer where the computer auto-generates possible movies in order to win against the user.

Notifications You must be signed in to change notification settings

Aryan-Jain-1710/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A simple app that allows the user to play tic tac toe against the computer where the computer auto-generates possible movies in order to win against the user.

Table of Contents

Purpose

This app was created to learn the basics of AI and how to create a simple AI that can play tic tac toe against the user. I practice using the tkinter library and to practice using functions in Python.

Technologies and Libraries Used

  • Programming Language
    • Python
  • Libraries
    • tkinter

Setup

Make sure to git clone this repository. After cloning, make sure the latest version of Python and all mentioned packages are installed and the project is ready for use!

Repository Information

The main.py file contains the code for the GUI and the functions that allow the user to play against the computer.

Usage

To use the application, run the main.py file. This will open the GUI. The GUI will look like this:

  • To use the application, enter the number where you want to place your X in the input box and click the submit button.
  • The computer will then place an O in an attempt to win the game.
  • The game will continue until either the user or the computer wins or the game ends in a tie.

About

A graphical user interface that allows the user to play tic tac toe against the computer where the computer auto-generates possible movies in order to win against the user.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages