Z
zeroknowledge0x/best-game-01
Mothlight: an arcade survival game where a moth lights every lantern in the dark to bring the night down.
更新 2026-11-15
在 GitHub 查看 ↗链接已于 2026-11-17 核查 · HTTP 200 · 打开的是厂商自己的官网
- ★ 数取值
- 0 ★ · zeroknowledge0x/best-game-01 · 取自 GitHub 搜索 API · (2026-11-19 20:00:48 核对)
- 来源明细
- 从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
- 收录与活跃
- 收录于 2026-11-16 · 最近见到 2026-11-20 · 共见到 5 次 · 被 2 个来源列出
- 评分构成
- 综合分 203 · 2 个来源 · repo
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
zeroknowledge0x/best-game-01;我们收录于 2026-11-16;最近见到 2026-11-20。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。README 原文(英文,未翻译) · 在 GitHub 读完整 README →
# Mothlight
以下摘录自该仓库的 README(片段)
A game for make.fun's best-game-01 bounty: "Make the best game". The bounty page is
Mothlight is an arcade survival game you fly with the mouse. You are a moth in a night that will
not lift. Light every lantern in the dark to bring the night down. A candle flame burns a wing; a
bat wakes with every lantern you light, and a burning lantern is the one place the swarm keeps
clear of. Each lantern lit after the first is worth more than the last, so a night flown in one
chain pays best. Three nights stand between you and dawn.
## Play it
The game is static files under game/. Any static server will do:
sh
python3 -m http.server 8080 --directory game # then open http://localhost:8080
Controls: the mouse flies the moth, P pauses, R restarts the night, M mutes the sound. The
HUD shows the score, the lanterns lit and the chain multiplier they are paying at, the wings left,
and which night is being flown.
## Hand it in
main.ts is the hand-in, not the game: it copies game/ and screenshots/ into the output
directory and writes dossier.json with the vendored make.fun library (vendor/makefun-game.ts,
the kit's own copy, unchanged).
sh
mkdir -p out && MAKEFUN_OUTPUT_DIR=out node main.ts
## Shape of the repository
| Path | What it is |
| main.ts | The hand-in program (Node 22, standard library only). |
| game/index.html | The page the game opens from. |
| game/src/main.js | The run: states, the fixed-step loop, keys and clicks. |
| game/src/config.js | The palette and every tuning number. |
| game/src/world.js | The rules of a night: level building, scoring, win and loss. |
| game/src/moth.js | The player's moth: spring steering, wings, trail. |
| game/src/lantern.js | A lantern to reach and a candle to avoid. |
| game/src/bat.js | The bats: how they come in, hunt, and avoid a burning light. |
| game/src/render.js | Everything drawn: the dark, each pool of light, the HUD, the screens. |
| game/src/audio.js | The game's own sounds, made with the Web Audio oscillator. |
| game/src/input.js | Mouse and keys in the world's coordinates. |
| game/src/random.js | The seeded generator every level is built from. |
| game/src/shots.js | The states the four screenshots are taken from. |
| screenshots/ | Four real renders of the game, taken from the game's own code. |
Mothlight is an arcade survival game you fly with the mouse. You are a moth in a night that will
not lift. Light every lantern in the dark to bring the night down. A candle flame burns a wing; a
bat wakes with every lantern you light, and a burning lantern is the one place the swarm keeps
clear of. Each lantern lit after the first is worth more than the last, so a night flown in one
chain pays best. Three nights stand between you and dawn.
## Play it
The game is static files under game/. Any static server will do:
sh
python3 -m http.server 8080 --directory game # then open http://localhost:8080
Controls: the mouse flies the moth, P pauses, R restarts the night, M mutes the sound. The
HUD shows the score, the lanterns lit and the chain multiplier they are paying at, the wings left,
and which night is being flown.
## Hand it in
main.ts is the hand-in, not the game: it copies game/ and screenshots/ into the output
directory and writes dossier.json with the vendored make.fun library (vendor/makefun-game.ts,
the kit's own copy, unchanged).
sh
mkdir -p out && MAKEFUN_OUTPUT_DIR=out node main.ts
## Shape of the repository
| Path | What it is |
| main.ts | The hand-in program (Node 22, standard library only). |
| game/index.html | The page the game opens from. |
| game/src/main.js | The run: states, the fixed-step loop, keys and clicks. |
| game/src/config.js | The palette and every tuning number. |
| game/src/world.js | The rules of a night: level building, scoring, win and loss. |
| game/src/moth.js | The player's moth: spring steering, wings, trail. |
| game/src/lantern.js | A lantern to reach and a candle to avoid. |
| game/src/bat.js | The bats: how they come in, hunt, and avoid a burning light. |
| game/src/render.js | Everything drawn: the dark, each pool of light, the HUD, the screens. |
| game/src/audio.js | The game's own sounds, made with the Web Audio oscillator. |
| game/src/input.js | Mouse and keys in the world's coordinates. |
| game/src/random.js | The seeded generator every level is built from. |
| game/src/shots.js | The states the four screenshots are taken from. |
| screenshots/ | Four real renders of the game, taken from the game's own code. |
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/zeroknowledge0x-best-game-01/)
- 来源
- github · https://github.com/zeroknowledge0x/best-game-01
- 按领域浏览
- 开源项目
- 收录来源
- 2 个独立来源
- 收录于
- 今天
更多条目
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。