# boona13/mykonos-island-voxels — AlpLab Radar Static Code Audit

- Ring: `watch`
- Category: `media`
- Overall score: `3.6/5`
- Implementation check: `verified`
- Maturity: `dormant`
- Audited commit: `ca5faeea84fc` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/boona13/mykonos-island-voxels
- Radar entry: https://radar.alplab.co/#repo/boona13/mykonos-island-voxels
- License: `MIT`
- Tags: `browser-game`, `canvas2d`, `isometric`, `creative-tool`, `no-build`, `ai-generated-assets`

## Summary

Browser-based isometric island-builder toy: dependency-free vanilla ES-module canvas game with mouse/touch placement, erase, brush, pan/zoom, localStorage saves and sound effects.

## Implementation Check

Playable builder fully implemented end-to-end (src/assets/assetManifest.js -> assetLoader.js -> src/core/Renderer.js -> src/core/InputManager.js -> src/storage/SaveSystem.js); README overclaims asset count ('75+' vs 54 manifest entries) and 'Auto-save' (save is manual via S/button, only restore is automatic in src/main.js).

## When to Use

Reach for it as a clean reference implementation of a no-build canvas isometric grid builder (layered caching, dirty flags, occupancy index, touch gestures), or as a toy. Not for production use, not as an engine or library - there is no API, no exports, no tests.

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 4.0/5 |
| usability | 4.0/5 |
| reliability | 3.0/5 |
| security | 5.0/5 |
| integration | 2.0/5 |

## Code Evidence

The whole advertised pipeline exists and is coherent: asset manifest with categories/footprints/kinds (src/assets/assetManifest.js), PNG loading with silhouette base/anchor detection and procedural voxel fallback (src/assets/imageToAsset.js, src/assets/voxelRenderer.js), pre-rendered supersampled display canvases and pre-blurred shadow silhouettes (src/assets/assetLoader.js), four-canvas cached renderer with version-stamped invalidation and dirty-flag early exit (src/core/Renderer.js), full mouse+touch+keyboard input incl. 420ms long-press erase and pinch/pan (src/core/InputManager.js), localStorage persistence with camera state (src/storage/SaveSystem.js). Sole network call in the entire repo is fetch() of local .ogg clips (src/ui/Audio.js:56) - no telemetry, no eval, no secrets, no install scripts.

## Issues Found

README and the X post claim '75+ assets'; src/assets/assetManifest.js defines 54 entries. HUD 'Shadows' and 'Borders' toggles are dead: src/ui/HUD.js writes Renderer.ambientOcclusion and Renderer.showBorders (src/core/Renderer.js) which are initialized but never read by any draw path. 'Auto-save' is really manual save + auto-restore (src/core/Game.js save(), src/main.js load()). README project layout lists src/persistence/SaveSystem.js; actual path is src/storage/SaveSystem.js.

## Key Risks

Nothing was executed, so gameplay/perf claims are code-judgement only; repo has zero tests and zero CI. Single commit ever (2026-05-14), one contributor, no releases - dormant. The project is AI-generated (the generating prompt is committed as mykonos_voxel_builder_prompt.md and assetLoader.js calls the pack 'AI-generated'). Renderer caches cost ~80MB per canvas layer on retina per the code's own comments (src/core/Renderer.js). No package.json or dependency manifest at all; the asset-trimming tool (tools/process_assets.py) needs Pillow but this is undeclared.

## Reviewed Files

- `README.md`
- `index.html`
- `.gitignore`
- `netlify.toml`
- `netlify-build.mjs`
- `mykonos_voxel_builder_prompt.md`
- `tools/process_assets.py`
- `src/main.js`
- `src/config.js`
- `src/core/Game.js`
- `src/core/Renderer.js`
- `src/core/Camera.js`
- `src/core/InputManager.js`
- `src/grid/IsoGrid.js`
- `src/grid/TileMap.js`
- `src/building/PlacementSystem.js`
- `src/building/PlacedObject.js`
- `src/assets/assetManifest.js`
- `src/assets/assetLoader.js`
- `src/assets/imageToAsset.js`
- `src/assets/voxelRenderer.js`
- `src/ui/UIManager.js`
- `src/ui/Toolbar.js`
- `src/ui/AssetPalette.js`
- `src/ui/HUD.js`
- `src/ui/Audio.js`
- `src/storage/SaveSystem.js`
