How ako1122/angelako-sandylam works
Sandy Lam 鐵粉挑戰賽 is a browser-based music and album game site, with static song data and Netlify Functions-backed leaderboards. Players choose a game, play and score in the browser, and—where supported—submit scores and view rankings. The graph includes the documented tournament, quiz, cover-version, and memory games, plus additional game modules and leaderboard endpoints present in the source index. Relationships are limited to README documentation and shown source excerpts; several game-to-endpoint links are therefore omitted where the caller was not shown.
Main entry points: submit-score.js Quiz score API · songs.json Song catalog · guess-album.js Album quiz · guess-cover-version-song.js Cover song quiz
Components 19
Browser games
- Song tournament
sandylam-netlify/js/app.js - Song quiz
sandylam-netlify/js/guess.js - Album quiz
sandylam-netlify/js/guess-album.js - Cover song quiz
sandylam-netlify/js/guess-cover-version-song.js - Cover album quiz
sandylam-netlify/js/guess-cover-version-album.js - Memory match
sandylam-netlify/js/memory-match.js - Catch covers
sandylam-netlify/js/catch-cover.js - Mahjong
sandylam-netlify/js/mahjong.js - Match three
sandylam-netlify/js/match3.js - Whack covers
sandylam-netlify/js/whack-cover.js
Game data
- Song catalog
sandylam-netlify/data/songs.json - Cover catalog
sandylam-netlify/data/cover.json
Leaderboards
- Quiz score API
sandylam-netlify/netlify/functions/submit-score.js - Quiz rankings API
sandylam-netlify/netlify/functions/get-leaderboard.js - Memory score API
sandylam-netlify/netlify/functions/submit-memory-score.js - Memory rankings API
sandylam-netlify/netlify/functions/get-memory-leaderboard.js - Other game APIs
sandylam-netlify/netlify/functions
Ranking storage
- Upstash Redis
Other components
- Player
Connections 28
- Player → Song tournament: plays
README.md - Player → Song quiz: plays
README.md - Player → Album quiz: plays
README.md - Player → Cover song quiz: plays
README.md - Player → Cover album quiz: plays
README.md - Player → Memory match: plays
README.md - Player → Catch covers: plays
- Player → Mahjong: plays
- Player → Match three: plays
- Player → Whack covers: plays
- Song tournament → Song catalog: fetches
sandylam-netlify/js/app.js - Album quiz → Song catalog: fetches
sandylam-netlify/js/guess-album.js - Catch covers → Song catalog: fetches
sandylam-netlify/js/catch-cover.js - Mahjong → Song catalog: fetches
sandylam-netlify/js/mahjong.js - Match three → Song catalog: fetches
sandylam-netlify/js/match3.js - Cover song quiz → Cover catalog: uses
README.md - Cover album quiz → Cover catalog: uses
README.md - Song quiz → Quiz score API: submits scores
- Album quiz → Quiz score API: submits scores
README.md - Cover song quiz → Quiz score API: submits scores
- Cover album quiz → Quiz score API: submits scores
- Memory match → Memory score API: submits scores
- Catch covers → Other game APIs: submits scores
sandylam-netlify/js/catch-cover.js - Quiz score API → Upstash Redis: writes
README.md - Quiz rankings API → Upstash Redis: reads
README.md - Memory score API → Upstash Redis: writes
sandylam-netlify/netlify/functions/submit-memory-score.js - Memory rankings API → Upstash Redis: reads
README.md - Other game APIs → Upstash Redis: reads and writes