像素骑士大冒险
新手村 → 训练营 → 毒雾挑战 → 终极魔王
新手村 → 训练营 → 毒雾挑战 → 终极魔王
等待登录
答案支持任意组合,例如 A、A,C、B,D、A,B,C,D。中英文逗号都可以。
尚未选择文件。
输入统计密码后可查看最近数据。
| 开始时间 | 玩家 | 状态 | 进度 | 分数 | 答对/答错 |
|---|---|---|---|---|---|
| 暂无数据 | |||||
建议题目简洁、选项清楚。超长文字会自动缩小,不会被裁掉。
先在本文 HTML 的 CLOUD_CONFIG 中填入项目 URL 和 publishable/anon key,再在 Supabase SQL Editor 执行下面内容。把 ADMIN_USER_ID 替换成你的管理员用户 UUID。
create table if not exists public.game_content ( id bigint primary key default 1 check (id = 1), question_bank jsonb not null, version bigint not null default 1, published_at timestamptz not null default now(), published_by uuid references auth.users(id) ); alter table public.game_content enable row level security; grant select on public.game_content to anon; grant select, insert, update on public.game_content to authenticated; create policy "anyone can read game content" on public.game_content for select to anon, authenticated using (id = 1); create policy "admin can insert game content" on public.game_content for insert to authenticated with check (auth.uid() = 'ADMIN_USER_ID'::uuid and id = 1); create policy "admin can update game content" on public.game_content for update to authenticated using (auth.uid() = 'ADMIN_USER_ID'::uuid) with check (auth.uid() = 'ADMIN_USER_ID'::uuid and id = 1);