learning server/client via python
require python 3.9.5
pip install -r requirements.txt
- Setup port and ip address (ipv4) in .env file
- Run server with
python server.py - Run client for player 1 with
python client.py - Run client for player 2 again with
python client.py
try methods below instead
brew update
brew install python@3.9
brew install pkg-config xquartz
brew install sdl2 sdl2_gfx sdl2_image sdl2_mixer sdl2_net sdl2_ttf
python3 -m venv pygame2
source ./pygame2/bin/activate
pip install --upgrade pip setuptools
pip install wheel
pip install venvdotapp
venvdotapp
pip install --no-cache-dir git+https://github.com/nelsonlove/pygame
heroku create
https://www.youtube.com/watch?v=McoDjOCb2Zo&t=3714s&ab_channel=freeCodeCamp.org https://www.youtube.com/watch?v=KQasIwElg3w&ab_channel=TechWithTim