Skip to content

itzpremsingh/tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

A simple command line based Tic Tac Toe game written in Python.

Features

  • Multiplayer support
  • Automatic game start
  • Automatic game end detection
  • Automatic game result declaration
  • Simple and easy to use command line interface

How to play

  1. Run the script
  2. Follow the instructions in the command line interface
  3. The game will automatically start and end
  4. The game result will be declared automatically

How to use

  1. Run the script
python main.py [server|client] [host] [port]
  1. Type 'server' to start the server
  2. Type 'client' to start the client
  3. The server will automatically accept incoming connections
  4. The client will automatically connect to the server
  5. The game will automatically start and end
  6. The game result will be declared automatically

License

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

About

Python terminal Tic Tac Toe game for two players over LAN with win/draw detection.

Topics

Resources

License

Stars

Watchers

Forks

Languages