Tic-Tac-Toe

#ABOUT

This is a game which everyone is familiar with. The ‘Tic-Tac-Toe’ which is developed fully on python 3.5 on Linux system(distro: Kali linux). The main reason for me to upload this is that developer from all over the world could help me improve this project. I have not been able to include AI(artificial intelligence) in the game. The computer plays randomly, I am new to the computing world and I am always interested in learning new things. Any help provided would be appreciated. Thank you in advanced!

#Installation instructions

#windows

Simply clone or download the .py file and open it with your code editor and enjoy coding!

#Linux

The first step is simple. Download the .py file and open it with your code editor. If you want to make it executable follow these steps:

  1. Enter the shebang at the top of the code. For eg: #!usr/bin/env python3.5
  2. After this, open your terminal and type chmod +x filename.py (in this case Tic-Tac-Toe.py)
  3. Change file permissions to Allow executing code as a program [check this option]
  4. At the top bar you will see ‘files’ when you will open your file explorer. click on it and select ‘preferences’
  5. Go to behaviour tab and under ‘executable text files’ check ‘ask what to do’
  6. Double click on the .py file. A popup will show, select run or run from terminal from it.

Note: THE LINUX INSTALLTIONS INSTRUCTIONS SHOULD WORK PERFECTLY ON DEBIAN-BASED SYSTEM. OTHERS ARE NOT GAURANTEED. THERE WILL BE A SLIGHT CHANGE OF COMMANDS IN SYSTEM WHICH ARE NOT DEBIAN-BASED.