Got as an assignment for a job interview, and trying to have some fun with the tools and skills I know, this project was completed in ~10h of work.
Using PyQt5 to setup GUI, batch and bash files to run pyinstaller on both Windows and Linux.
Managing enviroment thru conda, all libraries are from open source channels [conda-forge]
Miniforge3 is recommended, but not essential for building this application.
Icons where downloaded from the free tier of icons8.com.
- Create Enviroment:
conda env create --file connect_env.yml
- Activate it
conda activate connect_env
- Install package
pip install -e .
- Run it
python __main__.py or un debug in VsCode as setup in .vscode folder
-
For Debug this app could setup a debug mode in VsCode like I did, check the
.vscodefolder for the setup (should work on all machines [not tested on LINUX OS]). -
For more details on how to setup please check DEBUG in VsCode
-
Pack it by running
installer.bat, or simply copy paste the command stored in it in any terminal with working directory set for main repo folder. -
PLAY IT! The
.exefrom pyinstaller contains all needed pieces to play this game as is.
If you want to contact me for questions or simply commenting or using this code for your own feel free to reach out thru GIT
To be able to use Git on your local check the tutorial.
-
Improve GUI to be looking more like a real Connect 4 board
-
Improve the error handling after longer testing, I was not really pushing to have something perfect, just needed to complete the assignment and have fun with it showcasing some of my coding skills.