Created in 2022 by Ryan Slattery (Purdue University)
The executable (everything in 'main' directory) was created using auto-py-to-exe (https://pypi.org/project/auto-py-to-exe/).
The GUI (the reason I wanted to do this project in the first place) was made using PySimpleGui, which, as the name suggests, was easy to use. PySimpleGui uses nested lists (which form a "layout"), which contain your gui elements. These lists are used to dynamically created the gui, not unlike HTML or Javascript in a web page.
PySimpleGui requires very little code, which is why I was able to complete a working version of the game within 2 days (with no prior experience with gui's.)
PySimpleGui
- Executable:
- Download and un-zip
- Run /BlackJack-main/main/BlackJack.exe
- Note: Your computer's security software will likely complain.
- Using Python:
- Download and un-zip
- Install necessary packages
- cd into /BlackJack-main
-
cd {filepath}/BlackJack-main
-
- Execute main.py
-
python main.py
-