# Snowy Shift
## Holiday Havoc — Game Design Document v0.4

A “friend slop” cooperative arcade game about saving the holidays with an underqualified friend: easy to pick up, silly under pressure, and built around shared mishaps and laughter. The immediate prototype is a single-player Christmas shooter using Three.js, HTML5 and colored 3D primitives. The full game pairs a ground squad leader with Santa in a support tower.

## 1. The promise
Deliver the satisfying game shown in mobile ads: readable lanes, automatic snow blasters, a visibly growing army, arithmetic gates, escalating crowds and a payoff boss. Use the supplied Total Battle ad as a mechanical and framing reference, not a source of art or branding. This is an original Christmas interpretation, not an exact simulation of unknown mechanics from a still image.

Three pillars:
- Every choice pays off visibly within seconds. A +1 gate adds one shooter; snow blaster upgrades affect the entire squad.
- Both players stay busy and powerful. Support is a full action role, not someone waiting for cooldowns.
- Frustration creates funny recoverable situations. Players blame the conveyor, laugh, improvise, then recover. No purchase fixes the problem.

Audience: friends who enjoy chaotic cooperative party games and people who wish mobile-ad gameplay were real. Tone: cheerful workplace disaster. Stylized toy snow blasters and snow puffs, no gore.

## 2. Implemented single-player slice
Browser-based, no account system or backend. Three.js renders boxes, spheres, cones and text panels. No React is necessary for this small game; DOM controls surround a realtime canvas.

A shift lasts 90 seconds. Start with one defender and move sideways using A/D, the arrow keys or drag. Catch a green gate on the left to add one shooter, up to 25. Aim down the right lane to count down a gold target. Breaking it immediately upgrades every blaster, up to level eight. Each illustrated weapon card shows the remaining damage needed to unlock the upgrade. Return to the middle to clear the front ranks. The crew fires straight down the side lanes, so chasing a reward gives the horde time to advance.

The Lantern Shift takes place at night. Amber lamps line a snowy timber bridge under blue moonlight. Seventy snow imps approach in the opening formation. Reinforcements march down the middle in single ranks of five, six and seven as the waves progress. Each breach costs three workshop integrity, or 35 for the Snowboss. The boss arrives at 70 seconds. Defeat it and keep the workshop standing to win.

| Segment | Time | Pressure |
| --- | --- | --- |
| Lantern Shift | 0–30 s | Dense six-column packs; recruit and upgrade immediately |
| Flurry Fury | 30–60 s | Seven-column formations, tougher enemies, faster reinforcements |
| The Big Freeze | 60–90 s | Eight-column flood and a 680-health Snowboss |

Conveyor jams and repair controls are removed from the current prototype. Keep the belts moving while the combat loop is being tuned. Cooperative mishaps below are future design proposals only. Pause with P, Space or the pause button. Optional synthesized audio starts muted. Best score persists in browser storage when available.

Score = 10 × melted enemies + 5 × surviving elves + 20 × snow blaster power + 500 for a successful shift. The boss counts as 20 enemies. Restart is immediate and resets gameplay state.

Prototype boundaries: one Christmas bridge, one standard enemy and one boss, three time-based waves, no multiplayer, no Santa abilities, no holiday selector, no progression economy. The tower is scenery. The prototype tests the ad loop, not every proposed system below. Balance values are provisional and need hands-on playtesting.

## 3. Proposed complete Christmas loop
A normal cooperative shift runs 5–7 minutes. Start with a 20-second warm-up, alternate combat and logistical disruptions, then finish with a boss that tests both roles. Afterward, show both players' contributions and offer a role swap.

Moment to moment: read the next gates → position the squad → shoot a crate or enemy priority target → collect supplies → send resources to Santa → coordinate a spell → recover from a workshop mishap. Gates should preview their effect and arrival time clearly. Avoid invisible penalties or fake choices.

Between runs, unlock sidegrade toys and holiday scenarios. Do not sell power or interrupt play with ads. Difficulty scales enemy formations and event overlap instead of creating inflated health walls.

## 4. Two-player roles (planned)
### Player 1 — Elf foreman, on the bridge
Move the squad, steer auto-fire, choose upgrades, collect gifts and protect workshop entrances. One active dodge/formation command adds expression without requiring constant manual aiming. Carry a limited supply bundle to the dispatch lane to send Santa ammunition. Repairs briefly compete with optimal shooting position.

### Player 2 — Santa, in the tower
Aim a rapid magic-pebble attack continuously, even when no special ammo is available. Prioritize threats across the entire bridge. Sort delivered packages into three quick slots and throw them into landing zones visible to the foreman. Place temporary upgrades and clear hazards. Santa has independent targets: flying icicles, tower gremlins and frozen switches.

Initial tool kit:
- Gift bomb: aim an area blast; 0.8-second telegraph, damages monsters and scatters loose gifts.
- Hot cocoa: a warm zone that slows melting-prone enemies and shields elves for four seconds.
- Candy-cane magnet: pulls pickups toward a marked lane; repositioning makes coordination matter.
- Emergency elf delivery: parachutes three recruits; foreman must catch the drop.
- Bell pulse: knocks back enemies and nudges loose objects. Gentle comic disruption, never permanent griefing.

Prototype target: Santa has a meaningful choice at least every 2–3 seconds and no forced idle interval longer than three seconds. Resource starvation must never disable the basic attack. Each role should contribute roughly 40–60% of team value, measured using damage, prevention, collection and repairs rather than kills alone.

### Controls and camera
Local shared-screen co-op first: foreman uses keyboard or gamepad; Santa uses pointer aiming and click/1/2/3 abilities. Pause menus allow remapping. Remote co-op later uses one camera per player, host-authoritative collisions and predicted movement. Do not promise networked play until latency and reconnect behavior are tested.

Solo mode ultimately replaces Santa with an assist routine, with optional direct hotkeys for spells. No essential two-person task should block solo completion.

## 5. Funny friction: the friend slop layer
These events are deferred proposals; the current build has no conveyor jams or repair interruptions. The joke is the disruption and teamwork, not deliberately bad controls.

| Mishap | Warning | Player response | Recovery and limit |
| --- | --- | --- | --- |
| Conveyor union break | Amber beacon, 2-second countdown | Foreman presses a switch; Santa clears the frozen cog | Auto-resumes after 8 seconds; 25-second cooldown |
| Misaddressed gift | Landing marker follows the wrong lane | Santa retargets once; foreman catches the new drop | Missed gift rolls back into play |
| Festive overtime | Obviously crossed-out “99% fail” banner | Both hit a giant cancel button | Optional score bonus, never pay-to-skip |
| Frozen snow blaster | Barrel visibly turns blue | Santa sends cocoa or foreman uses warming lane | Basic backup shots remain available |
| Naughty-or-nice gate | Preview rotates between two visible rewards | Santa locks the choice; foreman commits | No hidden arithmetic or reversal after crossing |
| Gift wrap malfunction | Ribbon trails around a player | Partner uses a bell pulse to shake the ribbon loose | Brief slowdown capped at 2 seconds |

Never stack more than two disruptions. After the workshop takes damage, provide a grace window and a recovery pickup. Allow a low-chaos mode that reduces interruptions. Friendly pushes cannot knock players off the map, consume purchased resources or permanently delete progression. Make all friendly disruption opt-in for online matchmaking.

## 6. Gates, weapons and pacing
Proposed gate vocabulary stays compact: +N recruits, +N damage, ×2 temporary fire rate, repair/shield. Show both the arithmetic and the affected stat. Favor useful alternatives over one obviously correct gate. Avoid negative gates until players have learned the rules and can reliably dodge them.

Weapon progression: snowball popper → frost repeater → snow scattershot → avalanche cannon. Every change alters silhouettes, shot pattern and sound. Prefer distinct tradeoffs to escalating numbers alone. Reserve dense crowds for moments when the player has earned crowd-clearing tools.

Christmas enemies: snow nibblers (basic), shielded snowmen (flank or Santa bomb), gift thieves (priority resource target), rolling snowballs (telegraphed lane pressure). The Abominable Snowboss freezes conveyors, exposes a glowing core and throws clearly marked snowballs. Cooperative version: Santa melts armor while elves hit the core; swap duties midway so neither role becomes passive.

## 7. Holiday anthology (planned)
Keep the same comprehensible core but give each holiday one new interaction, not just new colors.

| Holiday | Ground crew / tower host | Enemies | Signature cooperation |
| --- | --- | --- | --- |
| Christmas | Elves / Santa | Snow monsters | Gift dispatch and frozen conveyors |
| Halloween | Costume crew / tower witch | Candy gremlins | Pumpkin ricochets and potion mixing |
| Easter | Chick brigade / spring bunny | Mud monsters | Catch and hatch bouncing egg drops |
| Valentine's | Cupid trainees / matchmaker | Grumpy cloud creatures | Link two targets for shared damage |
| New Year's | Party crew / clockkeeper | Confetti goblins | Time synchronized fireworks volleys |

Each episode has a short campaign and a repeatable challenge shift. Cosmetics reward completion, not spending. Introduce one holiday at a time; Christmas remains the full vertical-slice priority.

## 8. Presentation and accessibility
Use red, evergreen, cream, icy blue and gold. Keep good elves and enemy snow creatures distinct through silhouette as well as color. The bridge recedes toward the horizon with clear side upgrade lanes, approaching enemy crowds, visible projectiles and a readable foreground squad.

Primitives are intentional: cones for hats and trees, spheres for snow creatures, boxes for bodies, snow blasters, gifts and conveyor parts. Preserve this readable silhouette language if art is upgraded later.

Full release targets: remappable controls, large UI, reduced motion, separate music/effects levels, non-color gate labels, pause anywhere in local play and adjustable game speed for solo accessibility. Current slice supports keyboard/pointer, labeled controls, silent-by-default audio and pause; it is not a screen-reader-accessible action game.

## 9. Technical plan
Current: static HTML/CSS, ES modules, vendored Three.js, WebGL renderer, delta-time game loop with a capped frame step, DOM HUD and browser-local best score. Rendering resources are shared for primitive geometry/materials; removed gate textures are disposed. No server is required.

Next refactor: extract deterministic simulation from rendering, seeded wave schedules, data-driven holiday configuration, input actions independent of devices, pooled projectiles and instanced crowds. Separate simulation state from UI so local co-op and automated balance runs are possible. Target 60 fps desktop / 30 fps mid-range mobile, with reduced particle/shadow quality options. Pause automatically when the window loses focus. Remote multiplayer is a later architecture milestone, not a checkbox on the static prototype.

## 10. Milestones and playtest gates
1. Ad-loop slice (current): movement, auto-fire, recruiting, upgrades, snow enemies, continuous conveyors, boss, win/loss/restart and score.
2. Balance pass: watch five first-time players. Target 80% understanding movement/gates within 20 seconds; 40–60% first-run success; no unexplained deaths. Check touch input and narrow screens.
3. Local co-op: playable Santa with basic attack, gift bomb and cocoa; shared resource delivery; role swap. Both players rate agency at least 4/5 and no one waits for the other for extended periods.
4. Comic systems: add two recoverable mishaps; players should laugh more often than feel cheated. Remove events that repeatedly cause blame without a useful response.
5. Christmas vertical slice: enemy variety, a cooperative boss, 5–7 minute pacing and accessibility options.
6. Holiday expansion and optional online co-op only after the core loop succeeds.

Verification checklist: movement clamps to bridge; pause freezes simulation; conveyors never jam; upgrades affect firing; crates unlock at zero health; boss can be killed; enemies damage the workshop; loss and win paths restart cleanly; document opens and closes without losing a run; storage restrictions do not prevent play. Test 90-second completion with varied gate routes, low frame rates, touch cancellation and rapid restart. Do not mistake source checks for completed browser playtesting.

## 11. Open design questions
Does steering one squad feel better than choosing discrete lanes? Should repair require a short hold or one satisfying button press? Does Santa prefer direct aiming or placing persistent defenses? How much friendly disruption remains funny on a fifth run? Resolve these through the local co-op slice, before investing in online infrastructure or finished art.

## 12. Art workshop — v0.2

A separate concepts.html page presents the generated concept sheet first, followed by nine rotatable procedural 3D studies: foreman, loader, Santa, snow imp, shield brute, Snowboss, bridge, tower and workshop. All studies export as static GLB with materials. They are not yet the live game assets or animation-ready rigs.

Reference: Project Ocean Character Direction (accepted base update 19 October 2026), its Last Arcade character sheet, and the Last Arcade pitch. Preserve small blank cuboid heads, elongated limbs, rigid construction, flat matte colors and costume-led expression. The current accepted Ocean human base is about seven heads tall; earlier nine-to-ten-head proposals are historical.

Simulation checks for this balance pass: an unattended center squad loses around 27 seconds; a scripted upgrade-seeking player completes 90 seconds and defeats the boss. These are deterministic logic checks, not a substitute for human difficulty and visual testing.

## 13. Splash, lighting and hue direction — v0.3

The home route is now a co-op-focused splash page; play.html retains the solo prototype. Large headings use locally hosted Berkshire Swash; functional controls use DM Sans. The splash labels co-op as planned.

The art workshop includes two generated gameplay lighting targets, Lantern Shift and Lantern Shift, with practical Three.js recipes and performance constraints. These illustrations are not rendered captures. Five near-white material tints now give the live horde slight neutral, blue, mint, lavender and cream variation, assigned once per spawn. Tint does not indicate enemy strength. See UI_GUIDE.md and ui-tokens.json for the working UI specification.
