Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPS Game Server

Description

A secure Rock-Paper-Scissors (RPS) game server and client using Python. The server supports individual games and tournaments, allowing multiple players to connect, play, and view rankings.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/ViNoS-ab/TP-RPS-TCP
    cd TP-RPS-TCP
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Generate SSL certificates (if not provided):

    openssl req -x509 -newkey rsa:4096 -keyout server.key -out server.crt -days 365 -nodes

Usage

Running the Server

  1. Navigate to the src directory:

    cd src
  2. Start the server:

    python server.py

Running the Client

  1. Navigate to the src directory:

    cd src
  2. Start the client:

    python client.py

Features

  • Login and Registration
  • Play Game
  • View Rankings
  • Create Tournament
  • Join Tournament
  • Start Tournament

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages