How antonaldo777/gamified works
Fieldcraft is a static farm-learning app. Farmers work through four ordered stages: keep field notes and plan visits, explore crop and soil connections, sort and search sample readings, then try a sample water allocation. They confirm tasks themselves and answer quizzes; passing unlocks rewards and later stages. The app saves notes, visits, progress, points, and badges in the current browser. The excerpts show the app entry point, rendering, lesson data, algorithms, and storage; some feature wiring is supported by the source index rather than full excerpts.
Main entry points: render.js App interface · main.js App entry · progress.js Progress storage · lessons.js Stage content
Components 15
App experience
- App entry
src/app/main.js - App interface
src/app/render.js
Farm learning stages
- Stage content
src/features/lessons.js - Field notes
src/features/lessons.js - Crop connections
src/features/lessons.js - Reading patterns
src/features/lessons.js - Water planning
src/features/lessons.js
Learning algorithms
- Note structures
src/features/linear/algorithms.js - Tree and graph tools
src/features/trees-graphs/algorithms.js - Sort and search
src/features/search-sort/algorithms.js - Water allocator
src/features/algorithm-challenge/greedy.js
Progress and shared UI
- Progress storage
src/shared/progress.js - Shared UI helpers
src/shared/ui.js
Other components
- Farmer
- Browser local storage
Connections 14
- Farmer → App entry: opens app
README.md - App entry → App interface: starts
src/app/main.js - App interface → Stage content: renders stages
src/app/render.js - App interface → Field notes: presents tasks
src/app/render.js - App interface → Crop connections: presents activity
src/app/render.js - App interface → Reading patterns: presents activity
src/app/render.js - App interface → Water planning: presents activity
src/app/render.js - App interface → Note structures: uses structures
src/app/render.js - App interface → Tree and graph tools: uses algorithms
src/app/render.js - App interface → Sort and search: uses algorithms
src/app/render.js - App interface → Water allocator: uses allocator
src/app/render.js - App interface → Progress storage: loads and saves
src/app/render.js - Progress storage → Browser local storage: reads and writes
src/shared/progress.js - App interface → Shared UI helpers: uses helpers
src/app/render.js