Python Tchat

A simple texts communication platform using pygame and sockets.

How to install ?

You need a python 3.8.6 server with at least one opened port

  • Download the source code from this repo.

Server

  • In your server, copy the main.py file from the server directory.

  • Create a .env file and write which port you want to listen on as the env.example file.

  • Install the required python packages

    python -m pip install requirements.txt
    
  • run the server using the bat file, the sh file or this command below:

    python -m python -m main.py
    

Client

  • On your local computer, open the main.py file from the client directory.

  • Create a file .env and write the address and port of your server as the .env.example file.

  • Install the required python packages

    python -m pip install requirements.txt
    
  • Run the client ( main.py )

GitHub

https://github.com/Sigmanificient/PyTchat