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.
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
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. When all the players are connected the game stars:
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.