Long Range Scan: the 1971 galaxy, on the terminal it was written for
An independent rebuild of the 1971 starship patrol game. Eight by eight quadrants of eight by eight sectors, three digits a quadrant on the chart, courses round a nine-point compass, and a stardate clock that is the real opponent. The name and the nouns are ours and NOTICE.md says why: the mechanics are free to rebuild, the trademarks are not. Raiders rather than the enemy from the television programme, beams rather than the energy weapon, and every sentence the machine prints written for this project rather than borrowed from a listing. This is the 1971 skin only -- paper, ink and a print head. The remaster and the synth come next, and the tokens and the structured transcript are already shaped for them.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import react from '@vitejs/plugin-react'
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
// Vitest is left on its defaults on purpose: it already picks up *.test.ts and
|
||||
// nothing else, and importing `vitest/config` here drags in a second copy of
|
||||
// vite whose plugin types disagree with this one's.
|
||||
export default defineConfig({
|
||||
// Asset URLs are baked in at build time, so this has to match the path the
|
||||
// game is served from. Local development stays at the root.
|
||||
base: process.env.BASE_PATH ?? '/',
|
||||
plugins: [react()],
|
||||
server: {
|
||||
// The game talks to /api in every environment; in production that is
|
||||
// nginx in front of the shared scores container. In development, run
|
||||
// https://github.com/Coffey-Labs/games-scores alongside this -- or do not,
|
||||
// and the board will say so rather than breaking.
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: process.env.SCORES_TARGET ?? 'http://localhost:5184',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user