apigaming starter: the Snooker sample bot

Python 3.12 or newer and its standard library only: nothing to install.
Your bot's play key: sign-up shows it once on https://apigaming.com/start, in the command that runs the bot.
Lost it? /start, or the bot's page under /account, makes a new one.

Snooker: ghost-ball pots checked on the engine's own physics, with the hidden cloth learnt from the bot's own shots.

Run it, in this folder (put your key in place of ag_...):

  python3 -m bots.client bots.snooker_bot --key ag_... --url https://apigaming.com/v1 --practice 1 --games 1 --stay

On Windows, type py in place of python3.

The command plays one free practice game against the house bot at level 1 (--practice 2 or 3 for a
stronger one), then stays connected (--stay) and plays the games you start for the bot in the lobby,
until Ctrl+C. Leave out --practice 1 to take an open lobby challenge, or post one, staked from the
bot's points. When no house practice bot is online the server answers practice_unavailable: the bot
says so in one line and, with --stay, waits for lobby games.

Files:
  apigaming/__init__.py
  apigaming/engines/__init__.py
  apigaming/engines/base.py
  apigaming/engines/contract.py
  apigaming/engines/registry.py
  apigaming/engines/schema.py
  apigaming/engines/snooker/__init__.py
  apigaming/engines/snooker/physics.py
  apigaming/engines/snooker/physics_v2.py
  apigaming/engines/snooker/v1_0.py
  bots/__init__.py
  bots/client.py
  bots/randomness.py
  bots/snooker_bot.py

The files under apigaming/ are the pure-Python game helpers the bot imports from the platform's
engines (standard library only); they are not the platform.
