PRODUCTIVITY ARENA — player setup
=================================

You need Windows + Python 3 (with tkinter, which is included in the
standard python.org installer). Check by opening PowerShell and running:
    python -c "import tkinter; print('ok')"

SETUP
-----
1. Put these files in one folder (anywhere, e.g. Documents\Arena\):
     - idle_tracker.pyw
     - run.bat
     - arena_config.json
     - sounds\  (optional, for announcer audio)
2. Double-click run.bat. A small widget appears in the top-right corner.

That's it — your name is detected automatically from your Windows login,
and your stats upload every minute. The app keeps itself up to date.

Want a nickname instead of your real name? Open arena_config.json and set
"player_name" to whatever you like (letters/numbers/spaces, up to 24 chars).

LEADERBOARD
-----------
Open https://apm.conservice.network in any browser (no login needed),
or right-click the widget and choose "Open leaderboard".

HOW SCORING WORKS
-----------------
Only 6 AM - 8 PM counts. Your score is Focus % (the share of the time you've
been tracked that you spent actively working in productive apps), scaled by
your activity intensity. It's a RATE, not a running total, so joining later
in the day is fair - you are judged on quality, not hours logged. Idle time
(no keyboard/mouse for 2 min) and unproductive apps lower it; working harder
(more keyboard/mouse activity) nudges it between half and full credit.

WHAT GETS SENT
--------------
Only daily totals (active/idle/productive hours + activity rate). No app
names, window titles, or keystrokes ever leave your machine.

AUTO-START AT LOGIN
-------------------
The first time you run run.bat it registers itself to start automatically
every time you log in (a "Productivity Arena" shortcut in your Startup
folder). Nothing else to do.

To turn auto-start off: right-click the widget and choose Uninstall, or
delete "Productivity Arena" from your Startup folder (type  shell:startup
in Explorer's address bar to open it).
