尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Created by Merrick McMorris.
A strategy card game about ecology, with life from the Cambrian to the present, for two players or one against the computer. Each player fills five Niches with Creatures, overrides one Creature with another that shares enough traits, hunts the opposing ecosystem, and races to 12 Victory Levels.
The game currently ships three complete 40-card decks, five Biomes that change each player's rules, a card browser, and Learn Something, a set of illustrated lessons on the science behind the cards.
| Deck | Identity |
|---|---|
| 1 | Theropod Predators: Carnivore board control built around Apex Predators |
| 2 | Herbivore Development: armored Herbivores that grow toward Dreadnoughtus |
| 3 | Aquatic Carnivores: marine hunters using the closed Aquatic ecosystem |
Play against the computer (Easy or Normal), or two players on one device, with hands hidden behind a handoff screen whenever the device passes between players. Games save automatically and survive a page refresh.
Requires Node.js 20.19 or newer (22 LTS recommended).
npm install
npm run dev
Then open http://localhost:5173.
| Command | What it does |
|---|---|
npm run dev | Development server with instant reload |
npm test | Rules, simulation, and interface tests |
npm run check | Typecheck, lint, and test, the same gate CI runs |
npm run build | Production build into dist/ |
npm run preview | Serve the production build locally |
npm run playtest | AI-vs-AI balance playtests (-- --games=50 --decks=deck-1,deck-3) |
npm run images | Resize and recompress artwork after adding new images |
npm run format | Format all source files with Prettier |
src/
ai/ The computer opponent: move choice and a Web Worker to run it
data/ Card, deck, Biome, and Lesson content (no logic beyond validation)
engine/ The rules engine: pure TypeScript, no browser or UI dependencies
ui/ React interface: screens, components, saving, and session state
styles/ Stylesheets
tests/
ai/ Computer-opponent games, strength checks, and a fair-play test
engine/ Rules tests, determinism tests, and whole-game simulations
ui/ Interface tests run in a simulated browser
tools/ Playtest balance tool and image optimizer
src/engine is the heart of the project and is built to be trustworthy:
(state, input) → newState. Inputs are never mutated, and an illegal request returns an unchanged copy instead of corrupting the game.legalCreatureLanes, canPlayConcept, …) before acting, so the interface can never perform an illegal move.GameAction ({ type: "playCreature", cardUid, laneIndex }, …) applied through applyAction. The interface dispatches these, and the same actions can be recorded, replayed with replay, sent over a network, or chosen by an AI. listLegalActions lists every legal move in any state.checkInvariants verifies structural soundness: every card exists exactly once, Niches are consistent, and the winner matches the phase. The simulation tests run it after every action of every simulated game.Modules, in dependency order: core (zones, board geometry, locks) → override, victory, battle-math → queries (read-only legality) → turn (turn flow) → entry-effects, development, concepts, battle (transitions) → actions (dispatch and legal-move generation).
src/ai plays a seat using only the engine's legal moves. It never cheats: before each decision it re-deals everything it couldn't know (the opponent's hand, the order of both decks, the random number generator) and plans on that imagined game, and it judges Hunts by weighing every Battle Coin outcome by its probability rather than peeking. A test checks this directly: scrambling the hidden information never changes its choice.
In testing, Normal beats Easy about 9 games in 10, and both beat random play about 9 in 10. Decisions run in a Web Worker, so the page stays responsive while the computer thinks, and each move is paced so a person can follow it.
tests/engine/rules.test.ts): 90 scenario tests covering card interactions and rulings.tests/engine/determinism.test.ts): seed reproducibility, replay, purity, and Battle Coins.tests/engine/simulation.test.ts): 54 complete games across every deck matchup and Biome, played by a random policy over listLegalActions. Invariants are checked after every action, and the suite fails if any game gets stuck or any listed action does nothing.tests/ai/ai.test.ts): full computer games with every move checked for legality, strength against random play and between difficulties, and the fair-play test.tests/ui/app.test.tsx): setup-to-first-turn flow (against a person and against the computer), save and resume, the card browser, and the Hunt/coin modal.Card records live in src/data. Deck 1 and the shared Tag rules and rulings ledger are in deck-1.json; Decks 2 and 3 are in deck-2.ts and deck-3.ts. Card data is validated at startup, so a bad edit fails loudly.
When a rule changes, update the card data, the engine, and a rules test in the same change. Don't let interface wording become an undocumented rule.
The site is static and deploys automatically through GitHub Actions:
main. The Deploy to GitHub Pages workflow typechecks, lints, tests, builds, and publishes.The site is served at https://<user>.github.io/<repository>/. The workflow sets the correct base path automatically, including for a custom domain. Pull requests and other branches run the same checks through the CI workflow without deploying.
All artwork is temporary. Final card illustrations and Biome art will be commissioned from artists or selected from fan submissions. The card layout, frame design, colors, and Biome concepts are original designs by Merrick McMorris.
src/data/art.ts records where every card's art came from, and a test keeps it in agreement with the files and credits:
| Source | Cards | Notes |
|---|---|---|
| Licensed | 69 | Openly licensed images, credited in public/artwork/attribution-manifest.json |
| AI placeholder | 17 | Generated with ChatGPT's image generator, as are the Biome backgrounds and Nautilus face |
| Pending | 24 | No artwork yet; the card shows an "Artwork coming soon" frame |
Credits for all of it are shown in-game under Artwork credits.
Adding new art: put the image in public/artwork/<card-key>.webp, run npm run images to size it for the web, and move the card's key out of its current category in src/data/art.ts.
© 2026 Merrick McMorris. All rights reserved. No license has been chosen for this project yet.