idleman

idleman запушил(а) main в idleman/foodmageddon

  • b5a481ba6c feat(game): surprises, a living cherry, cartoon hits Make the game funnier (user's pick from a list of ideas). - Surprises (server/surprises): twice a round at a random time, with a big banner: the house cat's paw sweeps the summit, a child's hand grabs a fistful of cake, the table quakes, sugar sprinkles rain down, the lights go out (only eyes glow). Everything goes through terrain ops or the players; the client draws it on the real clock. - The cherry is alive: it has eyes, hops away from whoever comes close; hot potato: held 20 s by the same player it explodes; knocking it out of someone's hands and grabbing it is a steal worth bonus points. - Cartoon hits: players knocked flying spin and whistle, splat against walls; a small falling chunk flattens a player into a pancake instead of killing them. Crushes now use the chunk's speed before impact (small chunks used to stop dead on the player and never crush). - Dragées and sprinkles have small bodies so their little blasts reach the cake. Protocol version 12. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 68aececba8 feat(game): wall jumps for everyone, a heavy cherry that comes back anywhere Playtest feedback: flyers reach the cherry far more easily, and the characters who can neither fly, dig fast nor jump high spend the round trying to get up. - Wall jump and wall slide for every character: kick off a wall, hold toward it to come back and climb. Tested: every character climbs the 230 px wall of a tier. - The cherry is heavy: its holder jumps lower, and Captain Prout gets a single thrust while holding it. - A cherry that falls in the custard comes back on a random ledge of the cake instead of always at the top. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 52b06970f2 feat(characters): add Tatie Douille (turrets) and Léon le Caméléon (invisible) Tatie Douille pipes turrets on the cake: the base is a disc of biscuit laid with a fill op, so a turret falls when the cake under it goes (principle 2: it goes through the terrain). A turret shoots sugared almonds at the nearest player it can see (never its builder), at most two per player. She stands still while building. Léon le Caméléon turns invisible for the others for 5 s (an anim flag: clients hide him, he sees himself as a ghost). His long tongue licks a groove and pulls back what it catches. Attacking or being hit reveals him. Small blasts (dragées) get a light effect, without the freeze frame. Protocol version 11. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • e6a5f93374 fix(dist): hash release blobs without eol filters, run npm without shell args Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 2be396f3f5 feat(dist): self-update from the git repository's release tags `npm run release -- x.y.z` tags the source and stores the game files (app.asar, natives, assets) with a sha256 manifest in a parentless commit at refs/builds/vX.Y.Z. The packaged game reads the repository's refs over git smart HTTP, downloads the newer build through the raw file URLs and runs it from userData on the next launch (main/boot.ts). The Gogs server has no release API, and clones never fetch refs/builds, so no extra host and no weight on the source history. No new dependency: Electron's net and original-fs, and git, are enough. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 5 коммитов »

3 недель назад

idleman удалил ветку refs/builds/probe в idleman/foodmageddon

3 недель назад

idleman запушил(а) refs/builds/probe в idleman/foodmageddon

3 недель назад

idleman создал новую ветку refs/builds/probe в idleman/foodmageddon

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • a11d7249aa feat: playtest fixes - fair stuns, smart spoon, sound and options Feedback from the first real LAN game. Rules (server): - No stun-lock: hits during a stun do not extend it, and a stun is followed by STUN_GUARD_S of immunity (with reduced knockback). - The spoon aims its arc at a reachable ledge, checked against the terrain, even a last small island; blind throw only as a fallback. - Round ends early when almost no cake is left (MIN_CAKE_PIXELS). - K: give up when stuck (into the custard, back with the spoon). - Round results last 20 s for the last-placed player's picks, cut to 3 s once they are made. - The host can stop the match (back to the warm-up); players can change character in the warm-up; a "random" pick is drawn every round. - Players on the same character get a color variant. Characters: - Pyromanchot: firecrackers fly farther, backfire is a random chance with a smaller blast. - Captain Prout: 3 thrusts before landing again. - Gégé: higher jump, digs through chocolate. - Bébé Pompier: soaked sponge gives way under players, the spray drenches (slows) the players it hits. - Le Chat: clawed pounce that digs and sends players flying, stronger paw, rarer licks. - Mamie's needles stun a bit less. Client: - All sounds synthesized with WebAudio (no files, no new dependency), per-material sounds from materials.json, positional; the birthday tune on a recorder, faster as the round goes. - Options screen (Escape or the gear): volumes, mute, screen shake, host's stop, back to menu. - The toxic cloud blur now goes through the dream filter: the nested BlurFilter could shrink the victim's screen. Protocol version 10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 57ada15b42 feat(maps): rework the crêpes, add footholds to the round maps Playtest feedback: the crêpe pile looked noisy and its chocolate and caramel spreads were walls nobody could dig through, and the round maps had nothing to stand on. - Crêpes: thick crêpes with soft spreads only (jam, whipped cream), a gentler lean, a strawberry on top and a second small pile. - Roulé: wafer sticks planted around the roll as ledges. - Pièce montée: every chou has a flat glazed top (still glued only to the one below, so a column still falls as one). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 2 коммитов »

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • d1e70b0e18 chore(dist): portable exe, zip and installer for Windows Players without Node.js can now run the game: npm run dist builds a single portable exe, an unpacked zip and an NSIS installer. Executable editing is skipped, so the build needs no code-signing tools on Windows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • 7ebd1d8c79 fix(maps,physics): no more jagged cream spikes; cheap resting chunks - gen-maps: the frosting's side drips were 1-6 px stairs that rendered as dark jagged spikes under the outline; they are now fat rounded drops. Crepe ends are rounded so the leaning stack no longer reads as a staircase. - The new tier silhouette exposed a physics cost: a fallen tier resting on a carved floor touched ~170 tiny chain edges and planck's continuous collision took up to 185 ms per tick. Colliders are simplified a bit more (COLLIDER_SIMPLIFY_EPSILON 0.8 -> 1.2 px, invisible with the smoothed rendering) and a resting chunk sleeps until it merges (woken by nearby terrain changes or a failed merge). Whole-tier fall: ~5 ms per tick on average instead of 18-145 ms. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 2c55542cc6 feat(renderer): dreamy, fully antialiased look - Dream filter on the camera: the world is rendered at 2x the screen density and scaled down (supersampling smooths every edge, vector characters included), with a bloom on bright areas, a light soft-focus veil and a pastel grade (slight desaturation, lilac-tinted shadows). - Kitchen background blurred at load (depth of field) and a little hazy. - Sugar dust drifting behind and in front of the cake. - Terrain: material boundaries and lighting interpolated between pixel centers, contour smoothed with a 1-2-1 pass, no more blocky ink noise. - Rounded cream drips (gateau-etages regenerated), soft round crumbs. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 919403eae2 feat(renderer): sharp terrain and backgrounds, characters with volume - Render at the screen's pixel density (capped at MAX_RESOLUTION) instead of letting the browser upscale a 1x canvas. - Terrain chunks are drawn supersampled from a signed distance field (Felzenszwalb EDT around each chunk): smooth, antialiased edges and felt outline, soft drop shadow, crisp material textures. The bitmap and the deterministic ops are untouched. - Map backgrounds are generated at 2x with 3x3 antialiasing; the client reads their resolution from their size. - Character toolkit: shaded bodies (own shadow, highlight, glint, crayon hatching), expressive eyes (brows by action, blinks, spiral when stunned), blush, contact shadow and run lean, plus new details per character (Gege's miner helmet, Mamie's knitted shawl and pearls, the cat's collar, the wizard's moon hat...). Menu portraits at 3x. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 3 коммитов »

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • 4f86a6c17a feat(characters): add Gégé, Bébé Pompier, Captain Prout, Le Chat and Magicien Raté - Gégé swims through the cake and bursts out under players; takes less knockback buried, more in the open. - Bébé Pompier: pushing water jet with recoil; soaking turns sponge into soaked sponge, which sags over time (server soak zones). - Captain Prout: jetpack thrusts that leave toxic clouds (blurred vision, slowdown, coughing for other players). - Le Chat: shoves chunks, items and stunned players; randomly stops to lick his paw (input ignored). - Magicien Raté: weighted random spell (jelly, swap, giant rabbit, pfft), fizzling more when leading the round. - Character context gains random/isSolid/standing/shove/cloud/swap/cue; new 'cue' fx event and round clouds. Protocol bumped to v9. - Client: painters for the five, cue popups and particles, cloud view, poison blur, French texts; the menu hides the test character. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • ca8d455bcc feat(maps): full catch-up rule and the last three maps (M7, part 1) - Catch-up (readme §4): during the round results the last-placed player picks the next map and imposes a character on the leader, for one round (protocol v8: imposeCharacter / characterImposed, leader and characters in roundEnd). The help line follows the character actually played. - Le Roulé: a Swiss roll slice with a jam spiral, held only by its biscuit stand (saw through it and the whole roll comes loose). - La Tarte aux Fruits: brittle shortcrust shell, pastry cream, jelly fruit halves; random-cracks. - La Pile de Crêpes: thin crêpes with chocolate/jam/caramel spreads in a leaning pile; wind. - Modifiers moved off Le Mille-Feuille and La Pièce Montée to the maps the readme planned them for. - Tests: imposition flow over WebSocket (only the picker may impose, it lasts one round), all six maps validate, the roll comes loose from its stand, modifier tests on their new maps. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 2 коммитов »

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • 1ebd190593 fix(characters): Mamie's yarn lays a taut, anchored wool bridge instead of a falling trail The thread used to be laid pixel by pixel in mid-air behind the ball: every piece was unanchored, so it broke into 10-20 falling chunks per throw, and a ball touching Mamie stuck a wool blob on her (buried, then crushed). - The thread is tied to the ground under the thrower's feet (or the launch point when airborne) and drawn in flight from there to the ball. - On impact, the thread is laid taut from the anchor to the impact point, plus a wool blob on what was hit: held by both ends, it is a bridge. A ball that hits nothing unravels (yarnLife raised to 2.5 s so a ball thrown up lands and sticks). - The yarn ball does not collide with players (collision filter), and no wool is ever laid inside a player. - Soft chunks (average density below CRUSH_MIN_DENSITY: wool, whipped cream) no longer crush players. - Tests: bridge holds with nothing falling and nobody crushed, the thread is tied under her feet, throws at her own feet never bury or kill her. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 2c5970ab29 perf(terrain): detach search in three phases, one search per tick, leaner chunk creation A whole tier coming loose cost ~30 ms of server tick; it now costs ~5 ms. An ordinary op averages ~0.1 ms (p99 ~1 ms), all under plain Node. - DetachFinder: breadth-first on a small budget, then a downward depth-first walk, then a scanline fill for big components (a fresh standard fill: contiguous rows are several times cheaper than a pixel walk). Coordinates stored with each pixel, unrolled neighbours. - Working buffers shared per map size (a new Game every round no longer pays for 44 MB of fresh pages), stacks sized for MAX_COMPONENT_PIXELS. - Game.step applies all of a tick's ops, then runs one detach search over every changed area: what one area proves anchored serves the others. - Server applies a detach from the component mask directly (applyCells, same cells as the event), reuses the event's RLE for the chunk, averages materials through a histogram, counts box cells in one pass, and sets chunk fixture densities once (planck recomputed the mass per fixture). - Contour extraction: early exit for all-empty/all-solid chunks, and only the entries written are reset (no 16k-entry clears per chunk). - Hot loops read local copies of imported constants: under vitest each imported binding read is a property lookup, which made the vitest benchmarks several times too pessimistic. New npm run bench:node measures under plain Node. - Network test waits for messages instead of a fixed delay (flaky under load). Still above the 2 ms budget for the extreme case (single op severing a whole tier): ~2 ms search + ~1 ms detach + ~1.5 ms colliders. Noted in the readme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 2 коммитов »

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • aa695a2afb feat(maps): map catalog, lobby rotation, catch-up pick, modifiers, two new maps (M6) - The server validates every folder in assets/maps at startup (map.json, PNG, known modifiers) and rejects broken maps with an explicit message; only valid maps are offered. - Rotation set by the host (first player still connected) in the warm-up panel: all maps in order, at random, or a selection. The warm-up runs on the rotation's first map. - Catch-up rule: during the round results the last-placed player picks the next map among the rotation; without a pick the rotation decides. - Map modifiers in server/modifiers, active during rounds only: wind (side gusts on players, items and the cherry, shown in the round banner) and random-cracks (zigzag cracks in brittle biscuit). - New maps generated by scripts/gen-maps.ts (renamed from gen-test-map, npm run gen:maps): Le Mille-Feuille (pastry sheets and cream, a missing slice; random-cracks) and La Pièce Montée (stepped pyramid of choux, each glued only to the one below, so removing one drops the column; wind). Le Gâteau à Étages is unchanged pixel for pixel. Per-map background themes. - Protocol v7. Tests: every built-in map validates, the choux column falls, rotation pool/default/last-placed, host-only rotation, the full pick flow over WebSocket, wind and cracks (deterministic), no modifiers in warm-up. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 4939e09d8a feat(characters): Mamie Tricot, Pyromanchot and the character selection screen (M5) - Mamie Tricot: needles (short jab, long stun, light scratch on the cake); yarn ball that spins a wool thread behind it and sticks a wool blob where it lands, making bridges and nets when anchored. Slow; explosions burn wool within WOOL_BURN_RADIUS_FACTOR times their radius. - Pyromanchot: firecrackers that explode on contact, one in three backfiring in his flippers; belly slide ending in an explosion that spares him. - Character API: launch(projectile) and explode(blast); the server shares one projectile system for the candle, firecrackers and yarn, and one explosion routine (carve, burn wool, knockback). - Painted Mamie (bun with needles, glasses, shawl) and Pyromanchot (headband, fizzing fuse, flat belly-slide pose); firecracker and yarn sprites. - Selection screen: portraits plus a sheet with attack, special, flaw and speed/jump/weight bars read from character.json; compact title menu. - Tests: roster, yarn thread holding, needle stun, wool burning, firecracker and backfire, belly slide. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • c5620bd5a9 feat(rules): cherry, rising custard, spoon catapult, items, rounds and trophies (M4) - Round rules in the server Game: the custard rises (faster in the final 30 s); falling in or being crushed takes a player out for 5 s, then a spoon catapult launches them from a column of open air toward the closest spawn (momentum kept during the flight). The cherry scores 1 point per second; a hit makes its holder drop it, with a short regrab delay. - Items fall from the sky (seeded): candle (carried, thrown with F, explodes: carves, chocolate resists, blows everyone away), Smarties (speed boost), electric whisk (jolts the others, shakes jelly loose). - Match flow in GameServer: warm-up lobby, 4 rounds of 3 min on fresh maps, round results, final results with trophies from server/stats.ts, back to the lobby. Pacing flags on the headless server for testing. - Client: custard, cherry, items, held candle, spoon, splash/explosion/ pickup effects, round HUD (timer, final rush, scoreboard) and result screens. Protocol v5. - Tests: custard, death and spoon landing over several seeds, cherry pickup/score/drop, candle, Smarties, whisk, seeded item drops, trophies, and a full accelerated match over WebSocket. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 699e8b7ce1 feat(net): LAN discovery, lobby with ready check, match start, hash check (M3) - Server announces itself over UDP (port 47101) every second on every IPv4 subnet broadcast, the limited broadcast and loopback; the main process listens and pushes the list of games to the renderer. - Game browser screen: games on the LAN (version and capacity checked), create a game, or join by address. - Lobby phase: players warm up on the map and mark themselves ready; when all are, a 3 s countdown starts a match on a freshly loaded map. Player ids survive across matches; an empty server goes back to the lobby. - Every 5 s the server sends its bitmap hash at the current event seq; clients compare once they reach that seq and report a desync, which the server logs. - Renderer: the world can be dropped and reloaded on match start. - Protocol v4. Server reports a clear error when its port is taken. - Tests: protocol version rejection, lobby/ready/countdown/start with two real WebSocket clients replaying the event stream (hashes match), player leave, and UDP discovery end to end on the local machine. No new dependency (dgram and os are Node built-ins). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • Просмотр сравнение для этих 4 коммитов »

3 недель назад

idleman запушил(а) main в idleman/foodmageddon

  • ae09b96d64 feat(terrain): falling chunks (M2) - DetachFinder: after each op, finds components no longer 4-connected to a plate pixel. Each seed searches breadth-first on a small budget (meets pixels already proved anchored), then depth-first downward. - One sequenced terrain event stream (op, detach, merge) applied by the server and every client; masks and patches are RLE-encoded. - FallingChunk: dynamic planck body approximated with grid-aligned boxes (chains never collide with chains). Tiny components crumble as debris. - Resting chunks are rasterized back (inverse transform, no holes), glued to the ground below; merges that would leave a piece hanging are retried, diagonal-only crumbs are dropped from the patch. - Chunks hitting a player hard enough crush them (respawn for now). - Tests: detach rules, RLE, rasterization, boxes, tier fall and merge, tilted landing, crush, and server/client bitmap identity by replay. Known: a whole tier coming loose (~90k px) takes ~9 ms on the server, above the 2 ms budget of readme §5 (noted in the roadmap). No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • d1c1e35c07 feat(characters): Castor Glouton, title menu and first art pass - Castor Glouton (pulled forward from M5): bite that knocks back and stuns, held special that burrows toward the cursor while there is cake to eat (no flying), growth with every pixel eaten, slower when fat, the floor gives way past heavySize, digestion back to base size. He eats chocolate. - Character API: dynamic size, hits, velocity control, anim flags. - Title screen (DOM): nickname and character choice with rendered portraits. - Procedural art: tileable material textures, irregular felt-pen outline, rim light, darker undersides, drop shadow, cavities showing the inside of the cake, painted characters with walk cycle, squash & stretch, chewing and stun stars, comic onomatopoeia, crumbs and dust, warm vignette, freeze-frame on hits, camera leading toward the cursor, kitchen backdrop. No new dependency. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
  • 083d43faff chore: scaffold M1 (destructible terrain, authoritative server, tooling) Project skeleton from readme.md: electron-vite + strict TypeScript, Electron main/preload, a Node-only authoritative server (planck physics, ws + msgpackr) and shared integer-only terrain code (material bitmap with 64 px chunks, carve/fill/convert ops, marching squares, Douglas-Peucker, map loader with validation, seeded RNG). The reference map gateau-etages is generated by scripts/gen-test-map.ts. ESLint enforces the dependency rules of readme §3 and bans Math.random in shared/ and server/. Note: commits are a retroactive split by file of work done before the repository existed. Files touched by several steps (game.ts, net.ts, protocol.ts, constants.ts) are committed here in their final form, so this commit does not build alone; the last commit of the series is the tested state. Dependencies: - electron, electron-vite, vite, electron-builder: runtime, dev/HMR build and Windows packaging, as specified in readme §2. - pixi.js, planck, ws, msgpackr, vitest, typescript: stack from readme §2. - pngjs: single PNG decoder for terrain.png on the server and in the main process, so every machine gets bit-identical pixels (the browser decoder may alter colors). - tsx: runs the headless server (npm run server) and scripts without a build step. - eslint, @eslint/js, typescript-eslint, globals: npm run lint. - @types/node, @types/ws, @types/pngjs: typings. Versions are pinned to the newest majors compatible with each other (typescript-eslint does not support TypeScript 6+ yet). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

4 недель назад

idleman создал новую ветку main в idleman/foodmageddon

4 недель назад

idleman создал(а) репозиторий idleman/foodmageddon

4 недель назад

idleman создал(а) репозиторий idleman/3draft

1 месяц назад

idleman запушил(а) master в idleman/doc

3 лет назад

idleman запушил(а) master в idleman/doc

3 лет назад

idleman запушил(а) master в idleman/doc

3 лет назад

idleman запушил(а) master в idleman/doc

3 лет назад

idleman запушил(а) master в idleman/doc

3 лет назад

idleman запушил(а) master в idleman/doc

3 лет назад