Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.35 KB

README.md

File metadata and controls

67 lines (48 loc) · 1.35 KB

Tic Tac Toe

Simple terminal based tic tac toe game.

Description

A game in which two players alternately put X's and O's in boxes of a figure formed by two vertical lines crossing two horizontal lines and each tries to get a row of three X's or three O's before the opponent does.

Getting Started

Installing

Executing program

Option 1:

  • Double Click the "tictactoe.py" file

Option 2:

  • Open the command line and cd into download location folder
  • Type the command below:
python tictactoe.py

Using the program

When asks you to enter a location you can enter one of the following

tl - top left corner
tm - top middle
tr - top right corner
ml - middle left
m  - middle
mr - middle right
bl - bottom left corner
bm - bottom middle
br - bottom right

What I used / learned

  • Dictionaries
  • Functions
  • While Loops
  • Lists

Authors

Contributors names and contact info

@FADEDElement

Version History

  • 2.1
    • Fixed game restart bug
    • Fixed console clear bug (console clear only works for linux at the moment)
    • Fixed wrong command bug
  • 2.0
    • Major code optimizations
  • 1.0
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details.