Skip to content

yumin-chen/tic-tac-toe-in-python

Repository files navigation

  Tic Tac Toe Online in Python

Details of this project can be found on the Tic Tac Toe project page under:
http://www.CharmySoft.com/app/ttt-python.htm

Introduction

Tic Tac Toe Online in Python is a socket-based Client-Server application in Python that allows multi-players to connect to the server and play Tic Tac Toe online with other players.
This project is originally for my Python Assignment in Semester 6 Computer Systems Admin 2.

Manual

To start the server, run the ttt_server.py with

ttt_server.py [port_number] 

Where the parameter port_number is a 16-bit unsigned integer port number used for the TCP/IP protocol addressing.
Server

To start the client, run the ttt_client.py with

ttt_client.py [server_address] [port_number] 

Where the parameter server_address is a string that represents a IPv4 address for the server; port_number is the port number that will be used to connect to the server.
Client

To start the game, there needs to be more than one players. Start another client with the same parameters to connect to the same running server, and the game will get started.

References

Please see the file docs/REFERENCES.md.

Licensing

Please see the file named LICENSE.md.

Author

Contact