World Conquest: the classic game of world domination, one against five
Forty-two territories grouped from Natural Earth's public-domain outlines, the classic eighty-three links, exact dice odds, escalating card sets, and five bots that play every seeded game through to a winner.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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.
|
||||
//
|
||||
// There is no dev proxy here, unlike the arcade games on the site. They post
|
||||
// scores to a shared service; this one has nothing to post.
|
||||
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()],
|
||||
})
|
||||
Reference in New Issue
Block a user