Create a fun, fully playable claw machine arcade game in the browser — the beloved crane game where you position a dangling claw over a glass case full of plush prizes, lower it, and try to grab one and carry it to the prize chute.
The core gameplay loop should feel exactly like the real machine: insert a coin (or press start), move the claw along the top of the case, position it over a prize, lower it, watch the claws close around whatever they catch, rise back up, sway during travel, and release over the chute. Wins drop the prize into the chute with celebration; losses show the prize slipping free with the characteristic heartbreak of a real claw machine. Claw grip strength, prize weight and shape, swing momentum, and positioning precision should all meaningfully affect outcomes, so the game feels skill-based with a touch of luck — never rigged, never trivial.
Give it real arcade atmosphere: a glowing cabinet with neon trim, a lit marquee, glass reflections, a colorful pile of distinct prizes (plushies of different sizes, shapes, and rarities), a joystick-and-button control surface with keyboard and touch equivalents, a coin slot, LED readouts for credits, timer, and wins, and ambient lighting that reacts to the game state. Sound design should carry the fantasy — coin clink, motor whir, mechanical claw sounds, win fanfare, near-miss groans — with an accessible mute control. Motion should feel physical: the claw sways with momentum, prizes tumble and settle naturally, and the machine reacts to every action with small feedback details.
Carry the experience through complete game states: attract mode, coin insert, ready, claw movement (including a move timer), descending, grabbing, carrying, releasing, prize collection, win and lose outcomes, and retry flows. Include the small behaviors that make a claw machine feel real — prizes that wobble but slip free, near misses, a prize accidentally knocked into the chute, the timer running out mid-positioning. Track credits and prizes won, and show a prize-collection display so victories accumulate and feel meaningful.
Make it work beautifully on desktop and mobile: responsive layout, touch-friendly controls, readable at phone size, and smooth animation.
Do not take shortcuts or settle for a cookie-cutter approximation of a claw machine — a static picture with a moving rectangle is not acceptable. This skill imposes no token budget limit, so pursue the full depth of the experience: keep refining physics, feedback, atmosphere, states, motion, and small details until the machine feels authored, complete, and genuinely fun to play.