Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

aiverse-run-graph

/aiverse-run-graph

Generuje powiązane, losowe mapy przebiegu roguelike z budżetem walk na warstwę i trwałym wyborem nagród w modułach gry.

Repozytorium
AIVERSE ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

96/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść31 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Generuje powiązane, losowe mapy przebiegu roguelike z budżetem walk na warstwę i trwałym wyborem nagród w modułach gry.

Oryginalny opis (EN)

Generate connected seeded AIVERSE roguelike run graphs with per-layer encounter budgets and persistent reward choices from native game modules. Use for run lifecycle and reward idempotency.

Jak działa

SKILL.md bez nagłówków drugiego poziomu · 39 linii, 355 słów

Podgląd SKILL.md
---
name: aiverse-run-graph
description: Generate connected seeded AIVERSE roguelike run graphs with per-layer encounter budgets and persistent reward choices from native game modules. Use for run lifecycle and reward idempotency.
---

# Seeded runs

Read `libraries/include/aiverselib/strategy/RunGraph.h`. Reuse its catalog BFS and
weighted selection instead of generating another graph/loot algorithm in a game.

- Configure 2..64 layers, 1..16 rooms each, one start and one final, positive weighted
  encounter IDs/costs, per-layer budgets and 1..16 distinct reward choices.
  Every room is reachable from the start and can reach the final. Allocation reserves
  the cheapest encounter cost for remaining rooms, so a valid budget cannot dead-end.
- Supply `draw(total)` from `sim.rng().below(uint32_t(total))+1`, in [1,total].
  All configured totals are bounded below uint32. Validate before drawing. A bad callback
  can consume caller RNG before failure; rollback RNG together with the host transaction.
- `generateRun` creates the complete saved graph and offers. Do not regenerate on load
  or roll offers again when reopening a reward screen. Immutable config revisions still
  belong in NativeModule VERSION/config and the persistence envelope.
- `finishRunRoom` takes an authoritative encounter result, not an untrusted win button.
  A win enters Reward; a loss enters Failed. `claimRunReward` only accepts a saved offer.
  Its callback must atomically grant through the existing inventory owner and return false
  without changes on failure. Commit run state and the inventory in one host transaction.
  Do not make asynchronous HTTP calls from this simulation callback.
- A successful claim records the room/reward and enables `travelRun` only along outgoing
  edges. The final claim completes the run. Repeated requests cannot call grant again.
  Sequence numbers are monotonic and owned by the command authority.
- Persist the entire RunState with `strategy/Persistence.h` in NativeState. Link
  `AIVERSE::lib_run_graph`. `examples/native/strategy` VERSION 3 uses commands 10/11/12
  to demonstrate finish/claim/travel; its win command and reward counter are test fixtures,
  not production combat validation or a parallel wallet design.
- Run strategy tests (200 seeds, budgets, reachability, failed grants, duplicate claims)
  and `python3 tests/libraries/strategy_native.py` (save during reward selection, restore,
  finish a seeded run; repeat from relocated source exports).

This does not generate room geometry, play encounters, implement relic/card effects,
adapt a difficulty director, render a route UI or deploy durable backend rewards.

Build selection: `AIVERSE::lib_run_graph`; native OBJECT modules call
`aiverse_native_use_libraries(target run-graph)`. Only this header library and its
declared dependencies are selected. See `skills/catalog.json` for dependency and responsibility routing.

Wersje

W bazie nie ma innych skilli o nazwie aiverse-run-graph.

Migawka bazy z 13.11.2026 · wersja paczki ce83e726f7c5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 96aiverse-zone-graph
    Buduje i waliduje grafy stref z bramkami umiejętności, mapami odwiedzin i punktami kontrolnymi, sprawdzając osiągalność i brak blokad.
  • 92meta-albums
    Konfiguruje w warstwie meta gry w C++ sezonowe kolekcje, albumy i wymianę duplikatów na podstawie usługi aiverse::meta.
  • 100roguelike
    Pomaga zbudować grę roguelike: ruch turowy po siatce, proceduralne lochy, permadeath, pole widzenia i tabele łupów.
  • 100godot-genre-roguelike
    Dostarcza plan roguelike w Godot: generowanie proceduralne, permadeath z progresją meta, rozdzielenie stanu przebiegu i meta, seedowany RNG, system relikwii i skalowanie trudności.
  • 100card-game
    Buduje grę karcianą: dane kart, strefy talii, ręki i odrzuconych, dobieranie, tasowanie, strukturę tury, koszty i rozstrzyganie efektów, dla deckbuildera, TCG lub roguelike.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.