Skip to content

Add Answer Book (Tools) v0.1#1090

Open
redbson wants to merge 2 commits into
flipperdevices:mainfrom
redbson:redbson/answer_book_0.1
Open

Add Answer Book (Tools) v0.1#1090
redbson wants to merge 2 commits into
flipperdevices:mainfrom
redbson:redbson/answer_book_0.1

Conversation

@redbson

@redbson redbson commented Jun 18, 2026

Copy link
Copy Markdown

Application Submission

Answer Book (Tools, v0.1) — turns the Flipper Zero into a "book of answers". You hold a question in mind, press OK to open a page, and the book replies with one short answer.

The answer is not a plain rand(): each page open runs a brief, receive-only sensing pass (BLE RSSI sampling, SubGHz RSSI/LQI on common regional bands, a short NFC scan, plus device RTC/battery telemetry and the hardware RNG) and folds it into a 32-bit FNV-1a hash that seeds a weighted category choice, the specific answer, and a rarity roll. Because the environment is never identical twice, repeated questions rarely give the same page. The UI stays a quiet book — no signal scanner is shown.

Three screens: Cover (idle), Opening (page-turn animation), and Page (the result, with page number, rarity, answer, and category). Five categories (Forward, Observe, Warning, Explore, Reflection) and three rarities (Normal, Rare, Legendary).

This is the initial release.

Extra Requirements

None. Runs on a stock Flipper Zero — no extra hardware, GPIO modules, or expansion boards. Uses only the built-in radios and sensors, all in receive/sample mode. The app never transmits on SubGHz.

Author Checklist (Fill this out)

  • I've read the contribution guidelines and my PR follows them
  • I own the code I'm submitting or have code owner's permission to submit it
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have validated the manifest file(s) with python3 tools/bundle.py --nolint applications/Tools/answer_book/manifest.yml bundle.zip

AI usage disclosure (Fill this out):

  • Fully AI generated (explain what all the generated code does in moderate detail).

The application (a single answer_book.c, ~800 lines) was AI-generated. It implements: a Furi-based app loop with a ViewPort and GUI; three rendering states (cover, opening animation, result page) drawn with the firmware canvas API and bundled icon assets; an "oracle" engine that performs short, read-only samples via the BLE, SubGHz, and NFC HALs plus RTC/power telemetry and furi_hal_random_get(), reduces them to a five-axis vector, and folds everything into an FNV-1a hash used to pick an answer category, a specific answer string, and a rarity; and a logger that appends each result as one JSON line to the app's data directory. All radio use is receive/sample only — the app does not transmit. The catalog submission files (manifest, description, changelog, screenshots) were prepared with AI assistance as well.

@xMasterX

Copy link
Copy Markdown
Collaborator

Hi, why you removed Reviewer Checklist from PR description template?
Restore removed parts to PR description please

@xMasterX xMasterX added the on hold For PRs that cannot be merged right now as is label Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app (new) on hold For PRs that cannot be merged right now as is

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants