Skip to content

gitflarePublicPartly agent-ready40

orbit-duel

Real-time two-player orbital combat game on Cloudflare Workers and Durable Objects.

main
Add the Apache-2.0 licence0413e56
JavaScript9 lines305 B
import test from 'node:test';import assert from 'node:assert';import { createFx } from '../public/fx.js';test('fx has trail, sparks, pickup', () => {  const fx = createFx();  fx.trail(1, 1); fx.sparks(0, 0, true); fx.pickup(0, 0); fx.update(0.016);  assert.equal(typeof fx.shimmer, 'function');});