Play Krillion · Website: cubes-2048.io · 简体中文
Krillion is a browser trivia game about finding uncommon answers. Play seven timed rounds, explore a pixel ocean, and try the daily dive, unlimited practice or six themed challenges. This repository contains the standalone React/TypeScript game, question bank, artwork, build tools and tests from Cubes 2048. No account, database or API key is required.
Use Node.js 22 or newer and pnpm 10.15.0.
git clone https://github.com/ailingqu/krillion-game.git
cd krillion-game
corepack enable
pnpm install --frozen-lockfile
pnpm devOpen localhost:4173 and choose a language, or visit
/games/krillion/ directly. Add ?lang=zh for Chinese or ?mode=unlimited to
start unlimited practice immediately. Progress stays in the current browser and
origin; it is not synced between devices and is removed when site data is cleared.
The preview server listens on 127.0.0.1 and serves only public/.
Use PORT=4174 pnpm preview to change its port. Rebuild after source changes;
this standalone setup does not provide hot reload.
- 2,836 prompts across 55 categories, including letter and word-length variants.
- Seven rounds per game, with 25 seconds per round.
- Fixed answer scores, up to 700 points / 7,000 meters per game; scores are not calculated from live player answer frequency.
- Daily challenges change at 00:00 UTC. Unlimited practice and six themed packs are also available.
- English and Simplified Chinese interface, saved dives and shareable challenges.
The question bank is compiled from the included categories.txt. This is an
independently maintained Cubes 2048 edition, not the original game's official
repository. Questions, scoring and browser saves are independent; no original-game
API is called. Mechanics reference. The code license does
not grant rights to third-party names or trademarks.
pnpm typecheck
pnpm test
pnpm build
pnpm previewTests build the game and check the question bank, scoring, timers, save/restore,
challenge links, standalone assets and preview server. public/ contains the
static launcher, /games/krillion/ and license notices. Serve that directory at
a domain root so the game paths and sharing links work. No hosting or deployment
automation is configured.
.game-previews/krillion-preview.html is a portable HTML with its question bank,
scripts, styles, font and license notices embedded. Generated files are ignored
by Git. The game HTML retains noindex and a canonical link to its Cubes 2048
page; review those settings if publishing a separately branded site.
| Path | Purpose |
|---|---|
lib/games/krillion/ |
Trivia engine, UI, source question bank, artwork and font |
scripts/ |
Static build, license collection and local preview server |
web/ |
Game launcher |
tests/ |
Game, build and server checks |
Use dev for changes and main for reviewed releases. Run pnpm typecheck and
pnpm test before submitting a change. Report issues at
GitHub Issues, with language,
browser, reproduction steps and expected behavior. Do not include private data.
Project-owned code, artwork and question data use the MIT License. Third-party libraries retain their licenses; Pixelify Sans uses SIL OFL 1.1. See third-party notices.
Discover more browser games at cubes-2048.io.