comment on everything

This commit is contained in:
2025-02-01 00:27:38 -06:00
parent 98cdaad09e
commit d1e7834b8c
4 changed files with 119 additions and 38 deletions

View File

@ -29,12 +29,30 @@ source .venv/bin/activate
### Client
To run the client with a localhost target:
```shell
python -m client
```
To target an external server, provide its IP address using the `-s` flag:
```shell
python -m client -s [server IP address]
```
### Server
```shell
python -m server
```
```
### Common Flags
Make sure that these match between your client and server!!
| Short | Long | Description | Default |
|-------|---|---|---|
| `-p` | `--port` | The port for the client / server to communicate on. | `5005` |
| `-W` | `--width` | Image width in pixels. | `640` |
| `-H` | `--height` | Image height in pixels. | `480` |