rob-revisited/skeleton-app/AGENTS.md

18 lines
817 B
Markdown

# {{GAME_ID}} — notes for agents
This is a JumPHP **desktop app** (not an SDL game). **Read `../../AGENTS.md` §16 and `../../docs/tauri.md` first.**
## Checklist
```bash
bin/jumphp app:test {{GAME_ID}} # php -l + phpunit (AppTestCase, no window) + the app on Xvfb (must pass)
bin/jumphp app:shot {{GAME_ID}} # -> games/{{GAME_ID}}/var/screenshots/app.png: open it and look
bin/jumphp app:export {{GAME_ID}} # -> games/{{GAME_ID}}/dist/standalone/{{GAME_ID}}-linux-x86_64
```
## This app
- **What it is**: ...
- **PHP side**: `src/Main.php` (`AppMain::boot()`: commands, listeners, timers).
- **Pages**: `ui/` (`index.html`, `style.css`, `app.js`); `window.jumphp` is injected in every page.
- **Commands** the pages call: `greet`; plus the built-in `native.*` (`JumPHP\Tauri\NativeCommands`).