The Hack-A-Thon Go Pie game.
This application was built on Python 3.9.7 and uses features exclusive to the 3.9 series and above.
pip install pygame
Pygame 2 is an SDL2 wrapper for Python.
pip install pyngrok
This library allows localhost ports to be opened to the internet and made public. Without this library, you cannot host public servers from localhost. All other functionality remains available.
If you create an ngrok account and install your user auth token in the default path according to the instructions in the docs, pyngrok should be able to find your token. This will allow your public servers to never expire.
A file named config.json
holds the default settings.
"screen_resolution"
- The starting resolution of the display. The display can be resized."card_scale"
- The scaling of the card images. Can be adjusted per client."default_host"
- The default host for servers and clients."default_port"
- The default port for servers and clients."public_server"
- A boolean that specifies whether to usepyngrok
to open the server publicly.
Press ESC to exit the game. Use the UP and DOWN arrow keys while playing to scale your cards UP and DOWN.