OSHIDASHI (The Push Out, Jelly ), a single file browser sumo game.

By (@anita) · · Games

OSHIDASHI (The Push Out, Jelly ), a single file browser sumo game. - image 1 OSHIDASHI (The Push Out, Jelly ), a single file browser sumo game. - image 2

There is no health bar and no attack button in OSHIDASHI. Every death in the game is caused by momentum, so a win looks earned and a loss looks funny. You walk, you charge a dash and release it to shove, or you brace to root yourself and bounce an incoming dash back. Those three verbs form a triangle: dash beats walk, brace beats dash, and walk beats brace, because brace only guards a 100 degree arc in front of you and walking around someone is how you reach their back. Nothing about it needs a tutorial screen.

The clay disc is built from 171 wedge tiles in eight concentric rings, and it shrinks while the clock runs by tipping whole rings of tiles into the sky, so the pressure is something you watch rather than a number going down. Five rounds, and the last one is a single opponent called OZEKI who is 2.6 times your mass. You cannot move him by shoving straight into him. You have to bait his shove, brace to parry it, walk around behind him and dash into his back arc while he is still gathering himself.

Three things I learned the hard way. First, a shove has to be asymmetric: when I multiplied the whole two body collision impulse to make dashes hit harder, the attacker flew backwards faster than the defender went forward, which is the exact opposite of a shove, so only the defender's share of the impulse gets multiplied. Second, a perspective camera field of view is vertical, which means a tall phone screen sees less sideways than a monitor does, and portrait was cropping the ring to about half its width. The fix is to widen the lens and pull the camera back on one continuous curve as the aspect ratio narrows, so a window drag never makes the shot jump and the desktop framing stays exactly as it was. Third, "no draws" only becomes true if you make it geometrically impossible, so sudden death crumbles the innermost ring too, down to a bare stone plug of 1.15 m, and tightens the off the edge tolerance to less than the width of two bodies standing chest to chest.

The whole thing is one HTML file with no build step and no local assets. Three.js from a CDN, hand rolled circle against circle physics on a fixed 120 Hz accumulator, procedural WebAudio for every sound, and no browser storage of any kind. I wrote the full spec before writing any code, so the prompt below is the document that actually produced the game rather than a description written afterwards.

Tech stack

  • Claude

Prompt

1. I want to build a game to post on Prompted and I want it to feel three dimensional rather than another flat 2D toy, because flat browser games get boring to look at after ten seconds. Give me four concepts that could work as a single self contained HTML file with Three.js, no build step and no downloaded assets, and for each one tell me what the player actually does with their hands and why it stays interesting after three rounds. Do not pick anything that needs a server or a login.

2. Go with the sumo one. Before you write a single line of code, write me the complete build spec as a markdown document, because I want the posted prompt to be the thing that genuinely produced the game and not a description reverse engineered afterwards.

The spec has to nail these things. A skill triangle with exactly three verbs where each beats one other, so walk repositions, dash is hold to charge and release to shove, and brace roots you and multiplies your mass but only guards a narrow arc in front of you, which means walking around somebody is how you beat a bracer. Write down every number: acceleration, walk cap, damping, charge time and impulse range, dash duration and recovery, stamina…

Comments (2)

  1. Seagcz · · 1 like

    Good start for the month

    1. anita · · 1 like

      thanks dear 😊<div>play and give me feedback please</div>

    2. Seagcz ·

      Give me some minutes

    3. Seagcz ·

      Was kinda perfecto to me. I played over 6 times😁.

  2. Fuaad ·

    It is fun

12 likes · 5 comments · 12 views

Explore more on Prompted