In this bunch of code, we want to divide a list of Cards with Specific value between bob and potrick in the fairest way.
The Algorithm Part of that is too simple 😳 😁 You can see and Understand.
The GUI Part of that written with kivy and it's difficult to explain, you can read that and if you could understand, then good for you 😉 😎
Just kivy
pip3 install kivy
python3 main.py
or
./main.py
Windows (God damn windows 😐 😒 By the way)
python3 main.py
PS: we could put the files (pictures) in the diffrent directory for more arrangement, but running that in the both of Unix-like system and widows, with one code was getting hard.
And in the end, this code was my project in the Algorithm Design Lesson.
Thanks to:
- Mr Mahdi BG (TA)
- build APK (android version) with buildozer or python4android or ...
- Write a good exit method because mine is for joke ^_^ i wrote a code with bad passing arg, app will crash and obviously will be exit :)
Bye Bye 😟 ✋