SoftwareApp c55ebd21b4 fix(aim): full power reachable, and a tap no longer burns the turn
_maxDragPx was a fixed 260 *logical* pixels. On the test device (1080x2400 at
440 dpi) that is 715 physical pixels - a swipe across two thirds of the screen,
which ends at the edge before full power is reached. Players could not hit 100 %.

- the pull distance is now relative to the playfield: 30 % of its short edge,
  at least 80 logical px (~325 physical px here)
- verified on the device: a 340 px swipe reaches "MAX" and fires, a 149 px swipe
  reaches 46 %
- the HUD now prints MAX instead of 100 % and highlights it, so reaching full
  power is unmistakable
- a tap without a real pull no longer fires: _dragged guards releaseAim, so a
  stray touch cannot waste a turn (verified: tap leaves the turn unchanged)
- release 0.9.2 (15)
2026-10-25 15:59:06 +01:00

IRON ARC (Arbeitstitel)

Modernes, rundenbasiertes Artillery-Duell für Android: 2D, zerstörbare Landschaft, Wind und Schwerkraft, absurd großes Waffenarsenal — inspiriert von Scorched Earth (1991), aber mobile-first mit Deck-Building, asynchronem PvP und Live-Service-Struktur.

Monetarisierung: Freemium + Werbung, ohne Pay-to-Win (Power ist nicht kaufbar).

Rechtlicher Hinweis: „Scorched Earth" ist eine geschützte Marke (Wendell Hicken). Dieses Projekt nutzt einen eigenen Namen, eigene Marke und eigene Assets. Es werden keine Assets, kein Branding und kein Code des Originals verwendet.


Status

Pre-M0 — ausschließlich Dokumentation. Es existiert noch kein Produktivcode. Nächster Schritt: M0 (Skeleton) — siehe docs/roadmap.md.

Stack (beschlossen: R1 + R3)

Baustein Technologie Rolle
Simulation Rust, no_std + alloc, Fixed-Point Einzige Quelle der Wahrheit: Terrain, Ballistik, Waffen, Schaden, RNG, Replay
Client Flutter 3.47 + Flame Rendering, Drag-Aim-HUD, Menüs, später Ads/IAP
Bridge flutter_rust_bridge 2.13 FFI-Grenze Client ↔ Sim (1 Snapshot pro Frame)
Server Rust axum + sqlx/SQLite Replay-Validierung (Schiedsrichter), Auth, Leaderboard
Monetarisierung AdMob + UMP, Play Billing, Firebase Ab M7, nicht MVP-relevant
Store targetSdk 36 (Pflicht ab 31.08.2026), minSdk 24 Google-Play-konform
Toolchain rustc 1.85.0, JDK 21, Android SDK 36, NDK 28.2 Bewusst gepinnt

Architekturbegründung: docs/ADR/0001-tech-stack-r1-r3.md

Repo-Map (Zielzustand)

crates/sim/       deterministischer Spielkern (no_std, fixed-point)   [M1]
crates/content/   serde-Modelle + JSON-Validierung                    [M2]
crates/ffi/       cdylib, flutter_rust_bridge-API                     [M3]
crates/server/    axum-Replay-Validator                               [M4]
tools/balance/    Headless-CLI: 100k KI-Matches, CSV-Report           [M2]
tools/device/     connect/install/smoke/perf/logs-Skripte              [M3]
app/              Flutter-Projekt                                     [M3]
docs/             GDD, ADRs, Protokoll, Roadmap, Compliance           [erledigt]

Doku-Index

Dokument Inhalt
docs/GDD.md Game Design: Vision, Loops, Panzer, Waffen, Modi, Scope
docs/ADR/0001-tech-stack-r1-r3.md Architekturentscheidung + verworfene Alternativen
docs/ADR/0002-determinismus-fixed-point.md Determinismus-Regeln, Q16.16, RNG, Hash-Kette
docs/protocol.md Replay-Format v1, Commands, Server-API, Versionierung
docs/monetization.md Ads-Platzierungen, IAP-Katalog, Economy, KPI-Ziele
docs/roadmap.md M0–M6 mit prüfbaren Gates
docs/testing.md Testpyramide, Determinismus-/Golden-/Device-Tests
docs/compliance-play-store.md Store-Checkliste (targetSdk, Data Safety, UMP, Familien)
docs/decisions.md Entscheidungslog des Auftraggebers (HP 150, kein Closed-Test)
docs/privacy-policy.md Datenschutzerklärung (DE/EN) + was vor Veröffentlichung einzusetzen ist
docs/signing.md Upload-Keystore, signierter AAB-Build, Backup-Regeln

Konventionen

  • Dokumentation: Deutsch. Code, Identifier, Commit-Typen, Logs: Englisch.
  • Commits: Conventional Commits (feat:, fix:, docs:, chore:, test:, refactor:).
  • Branch main; Feature-Branches feat/<kurz>, Doku docs/<kurz>.
  • In crates/sim ist Fließkomma-Arithmetik verboten (siehe ADR 0002).
  • Jede Balance-Änderung muss Golden-Replays aktualisieren (cargo run -p balance --bin regen).
  • Keine Secrets im Repo: google-services.json und key.properties sind ignoriert und werden dokumentiert bereitgestellt.

Quickstart (ab M0)

export PATH="$HOME/Android/Sdk/platform-tools:$PATH"
export ANDROID_NDK_HOME="$HOME/Android/Sdk/ndk/28.2.13676358"
flutter config --jdk-dir=/usr/lib/jvm/java-21-openjdk-amd64   # JDK 25 meiden
cargo test -p sim
cargo run -p balance -- --matches 100000 --out report.csv
flutter build apk --debug

Nicht-Ziele (MVP)

Kein 3D, kein Echtzeit-Multiplayer, kein Cross-Play mit anderen Plattformen, kein iOS, kein Level-Editor, kein nutzergenerierter Content, keine Lootboxen mit Gameplay-Power.

Offene Entscheidungen

Thema Optionen Blockiert
Lizenz proprietär (aktuell) / MIT / dual LICENSE-Datei, OSS-Veröffentlichung
Finaler Markenname IRON ARC (Arbeitstitel) / ASHFALL / DUST & STEEL Store-Listing, Domain, Icon
Art-Pipeline Vektor (SVG→PNG-Atlas) / Raster-Atlas / Shader-prozedural M3-Renderer
Asset-Versionierung git-lfs vs. plain (Assets klein halten) sobald Assets > 5 MB
Ads bereits in MVP-1 ja (Test-IDs) / nein (erst M7) UMP-Consent-Skeleton
S
Description
No description provided
Readme 8.9 MiB
Languages
HTML 32.8%
Dart 28.7%
Rust 28.3%
Python 8%
Shell 2.1%