Faithful recreation of Atari Asteroids (1979) with vector wireframe aesthetic. Auto-detects Omarchy system theme and font on launch. Features: - Inertia physics (zero friction), rotate/thrust/fire/hyperspace controls - 3 asteroid sizes that split on destroy (large→medium→small) - Large and small UFO saucers with AI (random vs aimed shooting) - Screen wrapping for ship/asteroids/saucers, bullets expire at edges - Ship death fragments, explosion particles - Iconic heartbeat that speeds up as wave clears - Wave progression (4→11 asteroids, speed ramps) - 3 lives, extra life every 10k points - Persistent high scores with 3-letter initial entry - Procedural sound effects (beat, thrust, fire, explosions, saucer drone) - Full-screen scaling, system font detection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
295 B
Lua
13 lines
295 B
Lua
local Waves = {}
|
|
|
|
function Waves.get(wave)
|
|
local counts = {4, 6, 8, 10, 11}
|
|
local count = counts[math.min(wave, #counts)]
|
|
local speedMult = 1.0 + (math.min(wave, 11) - 1) * 0.08
|
|
return {
|
|
asteroidCount = count,
|
|
speedMultiplier = speedMult,
|
|
}
|
|
end
|
|
|
|
return Waves
|