Metadata-Version: 2.3
Name: starsec-client
Version: 0.912.0
Summary: STARSEC standalone player client: fly, focus terminals, spectate
Keywords: starship,competition,cybersecurity,raylib,multiplayer
License: Proprietary
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Environment :: X11 Applications
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Games/Entertainment :: Simulation
Requires-Dist: msgspec>=0.22.0
Requires-Dist: pyte==0.8.2
Requires-Dist: loguru>=0.7.3
Requires-Dist: tomli-w>=1.2.0
Requires-Dist: wcwidth>=0.2.13
Requires-Dist: raylib>=6.0.1.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# starsec-client

The STARSEC player client: a standalone raylib application that loads a world,
joins a STARSEC match server, flies, focuses terminals and spectates.

```console
pip install starsec-client      # or: uv tool install starsec-client

starsec-client                  # home screen, no files needed
starsec-client --help           # usage, including the server-only path
```

The home screen offers **Connect to server**, which takes a host and port,
probes it for its world and adopts that world, so a player never needs a local
`world.toml`. Servers you connect to are remembered under
`~/.config/starsec/servers.json` and listed with an online/offline state.

```console
starsec-client --host 10.0.0.5          # pre-fill a server on the home screen
starsec-client --world world.toml       # load a specific world instead
starsec-client --spectate --host H      # camera feed for OBS
```

**Working from this repo** (uv keeps the environment isolated, so the command is
not on your `PATH` automatically):

```console
uv sync
uv run starsec-client           # not `starsec-client`
uv run starsec-client --benchmark 5
```

Without `--world`, the client loads the **starter world bundled in the
package**, so a fresh install always opens. Pass `--world` to load a specific
world instead.

Requires Python 3.11+ and a desktop with OpenGL 3.3. raylib ships with the
package; no system libraries are needed beyond the usual GL/X11 stack.

Built by D5-Interactive for the ROWDY-CYBERCON showcase.

## Controls and display

- **Look:** mouse. Vertical and horizontal inversion are settings
  (`player.invert_look_y`, `player.invert_look_x`); vertical is inverted by
  default because that is what players expect from the shipped build.
- **Move:** WASD, Space jump, Shift run, Ctrl crouch, F focus a terminal.
  `client.swap_strafe` swaps A and D if you prefer the opposite convention.
- **Settings:** every change applies live. VSync and fullscreen can be toggled
  while the client runs; maximise and manual resize rescale the UI and the
  post-processing buffers automatically.
- **Terminals without a server:** in a single-player world, focusing a terminal
  starts a throwaway `debian:trixie-slim` container when Docker answers, and a
  mock console when it does not. It never needs a match server.
