Project overview

From assofohdz/subspace-infinity · View interactive version

Project overview is an AI agent skill from the GitHub repository assofohdz/subspace-infinity. Overview of Subspace Infinity project structure, tech stack, and conventions. Use when understanding the codebase, finding files, or learning project patterns.

How to use this skill

Skill file

Subspace Infinity Project Overview

Tech Stack

Project Structure

api/src/main/java/infinity/            # Shared components, interfaces
  es/                        # ECS components (ArenaId, ArenaMap, ArenaSettings, ...)
  sim/                       # Base contracts (ArenaModule per ADR-0008)
  net/                       # Network contracts
  util/                      # Shared utilities
infinity-server/src/main/java/infinity/
  systems/                   # Server-side game systems (ArenaSystem, SettingsSystem, ...)
  server/                    # Server networking (GameServer, BasicEnvironment)
  ai/                        # AI/mob systems
  settings/                  # GroovySettingsHost + per-tier Groovy*Loader (zone/arena/ship/fragment), ConfigRegistry, SettingListener
infinity-client/src/main/java/infinity/
  client/                    # Client app states, view factories
  Main.java                  # Entry point (fat-client + embedded server)
assets/                      # JME asset root: Maps/*.lvl, textures, sounds
zone/                        # Second asset root for runtime config
  zone.groovy                # zone-wide config (autoLoad, enterSpawn)
  arenas/<name>/arena.groovy # per-arena config (map, shipsScript, spawn, includeFragment)
  conf/base/                 # project baseline tuning (current default, 7 ships) — Groovy
  conf/svs/                  # canonical Standard VIE Settings (verbatim from SubspaceServer, 8 ships)
  conf/svs-league/           # SVS league + duel variants
  conf/svs-pb/               # PowerBall approximation

Arena identity is by folder name under arenas/, not by map filename. An arena's .lvl is declared by the map directive in its arena.groovy. See arena-settings for the full model.

Key Conventions

Build Commands

./gradlew build                         # Build all
./gradlew :infinity-client:run          # Run game
./gradlew :infinity-client:runX11       # Run with X11 backend (Wayland fix)
./gradlew clean                         # Clean
./gradlew :infinity-client:jpackageImage  # Build native app with bundled JRE

Release Process

Single source of truth — the version lives only in the root build.gradle subprojects block (no -SNAPSHOT suffix). The git tag is the source of truth for what's released.

  1. Bump version in build.gradle: version='X.Y.Z'
  1. Commit and create git tag:

```bash

git add build.gradle && git commit -m "Bump version to X.Y.Z"

git tag -a vX.Y.Z -m "Release vX.Y.Z - description"

git push && git push origin vX.Y.Z

```

  1. Bump version in build.gradle to X.Y.(Z+1) for ongoing dev and commit.
  1. GitHub Actions will trigger on the tag push to build releases.

Dependencies

Moss physics library must be built from source:

cd ~/github/assofohdz/moss
./gradlew publishToMavenLocal
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.