Skip to content

adrianryt/Poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker

Authors: Mateusz Pieróg, Adrian Ryt

This project is a desktop aplication enabling you to play Poker online with friends. We did it as a project for our python course at AGH.

How to play

First run this command:

pip install -r requirements.txt

By default server starts on local IP address, you can change server IP in line 12 in server.py

SERVER = "192.168.65.128"

You can also configure small blind and start tokens in server.py

When the server starts running, you are asked to input number of players in the console

server_screen

After that you need to configure line 11 in client.py - copy there your server's IP. Then you have to launch clients and give your name. login_client When all the players are connected the game stars:

table

Adrian Ryt
The project turned out to be quite time consuming due to many specific rules in Poker. Project taught me that making a good scheme before writing the code is very important and helpful. My skills in python has expanded, I learned about client - server conenction, pickles and threads. Overall, the project was very fun to write, python is very friendly language and the documentation in great.

Mateusz Pieróg
What I have learned:

  • It is better to spend more time designing the solution than later struggling to resolve many unexpected bugs.
  • List and dict comprehension are great alternatives for loops.
  • I have understood how a simple client and server based system works.
  • I have a better understanding of multi-threaded programs.
  • Usually there is a python library with the tools we need.
  • Python is a very popular language which makes it easy to find a solution to a given problem.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages