GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BDubDesigns/RuneSpace: A browser-first sci-fi RPG centered on skill grinds, crafting, and server-authoritative loops. Built with agentic coding harnesses (Claude Code, Codex, Hermes) under human architectural review. Pre-alpha.

BranchesTags
Open more actions menu

Latest commit

 

History

353 Commits
353 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
.github/workflows
.github/workflows
 
 
.qcfailed
.qcfailed
 
 
app
app
 
 
assets
assets
 
 
components
components
 
 
db
db
 
 
docs
docs
 
 
drizzle
drizzle
 
 
features
features
 
 
game
game
 
 
minigames
minigames
 
 
public
public
 
 
scripts
scripts
 
 
server
server
 
 
tests
tests
 
 
tools
tools
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
AGENTS.md
AGENTS.md
 
 
CLAUDE.md
CLAUDE.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
drizzle.config.ts
drizzle.config.ts
 
 
eslint.config.mjs
eslint.config.mjs
 
 
globals.d.ts
globals.d.ts
 
 
instrumentation-client.ts
instrumentation-client.ts
 
 
instrumentation.ts
instrumentation.ts
 
 
middleware.ts
middleware.ts
 
 
next.config.ts
next.config.ts
 
 
nixpacks.toml
nixpacks.toml
 
 
package.json
package.json
 
 
playwright.config.ts
playwright.config.ts
 
 
playwright.qc-studio.config.ts
playwright.qc-studio.config.ts
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
postcss.config.mjs
postcss.config.mjs
 
 
tailwind.config.ts
tailwind.config.ts
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 
vitest.integration.config.ts
vitest.integration.config.ts
 
 

Repository files navigation

RuneSpace

Status: Playable pre-alpha — active development. RuneSpace is a browser-first, low-fi sci-fi RPG with a real early-game vertical slice: server-authoritative Play orchestration, Travel/Scavenging, Ferrite Shale Mining, Refining, Welding/Cargo Hold repair, Inventory/Equipment, locations, Power Cell/Power Annex, NPC interactions, the Holo Hollow settlement with Local Places, character Credits, and NPC merchant Trade, missions, and skill progression. Still early and under active development.

RuneSpace is a planned browser-first, mobile-friendly, low-fi sci-fi RPG inspired by the progression, quests, social texture, and long-term grind of old-school MMORPGs and action-point games. It is not a RuneScape clone.

The architecture is a modular monolith with a server-authoritative game model: the browser is never the trusted source of progression. Gameplay outcomes are resolved by server-side domain logic and persisted server-side. The generic transaction/locking/action-cursor/lazy-resolution lifecycle lives in server/action-resolution.ts; server/play.ts owns composed activity resolution and shared Play state assembly (server/play-state.ts) and the client shell (features/play/). Activity resolvers (Mining, Refining, Travel, Welding) own only their activity; feature-specific UI stays feature-owned.

Stack

Concern Choice
Language TypeScript (strict)
Framework Next.js (App Router) + React
Styling Tailwind CSS
Database PostgreSQL
ORM Drizzle ORM
Validation Zod
Unit tests Vitest
Browser tests Playwright
Package mgr pnpm (committed lockfile)
Deploy Docker / Coolify
Minigames Phaser (later, isolated boundaries)

Pinned versions: Node 22, pnpm 9.15.4 (see package.json engines/packageManager).

Local setup

Prerequisites: Node 22, pnpm 9.15.4, Docker (for Postgres), and optionally Playwright browsers.

# 1. Install dependencies (frozen lockfile)
pnpm install --frozen-lockfile

# 2. Start PostgreSQL (writes to a docker volume)
docker compose up -d

# 3. Configure environment
cp .env.example .env
#   (default DATABASE_URL matches docker-compose.yml)

# 4. Apply committed migrations
pnpm drizzle-kit migrate

# 5. Run the dev server
pnpm dev
#   open http://localhost:3000

To install Playwright browsers for local e2e tests:

pnpm exec playwright install --with-deps

Environment variables

See .env.example. Validated at startup by server/env.ts (Zod).

Var Required Notes
NODE_ENV no development | test | production
DATABASE_URL yes PostgreSQL connection string for the pg Pool

Common commands

Command Purpose
pnpm dev Start the dev server
pnpm build Production build
pnpm start Start the production server
pnpm lint ESLint (next lint)
pnpm format Prettier write
pnpm format:check Prettier check
pnpm typecheck tsc --noEmit (strict)
pnpm test Vitest unit tests
pnpm test:integration Disposable PostgreSQL integration tests
pnpm test:e2e Playwright browser tests (local)

Testing

  • Unit: pnpm test (Vitest, pure domain/schema logic — fast, no DOM).
  • Integration: pnpm test:integration (Vitest against a fresh disposable PostgreSQL database; migrations and cleanup are automatic).
  • Browser: pnpm test:e2e (Playwright, focused journeys, using a disposable database). CI runs the 70-test canonical browser-journey selection across 13 behavioral specs via pnpm test:e2e:canonical; smoke, ownership, design-system, and QC Studio specs remain outside that merge-gate selection. See docs/testing-strategy.md for the sharded runner and opt-in screenshot lane.
  • Strategy: risk-based — pure rules, server/persistence boundaries, and a few critical mobile journeys. See docs/testing-strategy.md.

Coolify

  • The current Coolify application uses Nixpacks. nixpacks.toml retains the package build and start behavior while asserting the committed Drizzle migration assets are available to the runtime.
  • Database migration and recovery instructions are in docs/deployment-database.md.
  • docker-compose.yml provides a local PostgreSQL for development. The app itself is run with pnpm dev on the host (the container only covers the DB).

Architecture & docs

Read these before contributing:

  • AGENTS.md — rules for coding agents (scope, SSOT, extraction, testing, PR workflow).
  • docs/architecture.md — modular monolith, server-authoritative model, boundaries, dependency direction, and Play orchestration.
  • docs/game-rules.md — current design direction (implemented vs. approved vs. future).
  • docs/gameplay-foundations.md — server-authoritative timing, progression, inventory, and action contracts.
  • docs/missions.md — declarative mission framework and authoring contract (single-phase, server-authoritative).
  • docs/component-boundaries.md — extraction rules.
  • docs/art-cookbook.md — art direction, generation workflow, asset preparation, and visual QA.
  • docs/testing-strategy.md — risk-based testing.
  • docs/development-workflow.md — one issue/branch/PR workflow and CI.
  • docs/holo-film-studio.md — the standalone Holo Film Studio (tools/holo-film-studio/): silent-film engine, films, preview, QA, CI lane, and provenance (issue #489).
  • docs/analytics.md — PostHog product analytics: event contract, privacy gates, Coolify configuration, and dashboard setup (issue #413).
  • docs/admin-console.md — admin/operator console authorization, commands, and audit (issue #113).

License

RuneSpace is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0). See LICENSE.

About

A browser-first sci-fi RPG centered on skill grinds, crafting, and server-authoritative loops. Built with agentic coding harnesses (Claude Code, Codex, Hermes) under human architectural review. Pre-alpha.

runespace.qcfailed.com

Topics

incrementalincremental-gamemmorpgmmorpg-clientmmorpg-enginemmorpg-gamemmorpg-serverrpgrpg-gamerpg-maker

Resources

Readme
AGPL-3.0 license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.