/Online-Chess-Game

A networking project that uses socket.io library from python that connects sockets of two hosts to play multiple chess games using a GUI developed using pygame framework.

Primary LanguagePythonMIT LicenseMIT

Online Multiplayer Chess

Description: An online multiplayer chess game. Supports infinite players playing against random opponents on different machines on different networks. This project was created using python 3.7, pygame and the sockets module from python3. It runs on a basic client server system where a server script handles all incoming connections and game management. The clients simply hanlde the UI and game play.

Required:

  • Python 3.x
  • pygame

TO MAKE THIS CODE WORK...

You will need to change the server address from within the following two files:

  • client.py
  • server.py

You will also need to run server.py on some kind of server. After that you can launch two instances of game from anywhere to play online chess.