Skip to content

stacycallahan/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Description

Welcome to Tic Tac Toe! This is a player vs. player online version of the classic game.

To begin, players have the opportunity to choose their preferred symbol: X or O. Then, a starting player is randomly chosen by the program. In gameplay, players view a character-based tic tac toe grid and use matrix notation to make moves, updating the grid in real time. The game is played one time through until there is a winner or tie.

How to Play Tic Tac Toe

  • Players X and O take turns marking their symbol on a 3 by 3 grid
  • The first player to mark 3 of their symbol in a row (horizontally, vertically, or diagonally) wins
  • If the grid is filled with neither player marking 3 of their symbol in a row, the game ends in a tie

How to Run the Program

  1. Make sure you have Python installed: https://www.python.org/downloads/
  2. Open Git Bash
  3. Clone the repository onto your machine: git clone https://github.com/stacycallahan/Tic-Tac-Toe.git
  4. Move into the Tic Tac Toe directory: cd Tic-Tac-Toe
  5. Run the gameplay.py file to play the game: python gameplay.py
  6. To stop the script, you may use CTRL + C

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages