Skip to content

An online game of "Yaniv" (card game) written in python. Using server / client and GUI

Notifications You must be signed in to change notification settings

nirblo50/Card-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Online Card Game

About this project

--- watch game running video.mp4 to see how the game runs ---

This project is an online card game (with 'Yaniv' rules).
In this project I mostly focused in the client-server communication and the modularity  of the project
so there is minimal user interface and graphics.

Features

1. Server side using Sockets
2. client side also using sockets
3. Game-logic and rules
4. User's Gui using pygame 

Setup & Installation

Make sure you have Python version of 3.9 or above installed.

  1. use git clone to clone this repository.
  2. first run the server.py file.
  3. after the serever is up and running, run the player.py file for each player.
pip install -r requirements.txt

Running The App

To play on local Network, first run server.py and than python player.py