尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Clay 3D street badminton in the browser: a rope net across a Hyderabad lane, a Jakarta kampung, KL flats
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Play: https://zerowing.in/games/shuttle-lane/
1v1 street badminton in a clay 3D diorama, built with Three.js in a single HTML file. Fifth game in the street-sport family (Galli Cricket, Panna Cage, Block Hoops, Sand Spike). The net is a rope (or a sarong) tied between two houses, the way it is played all over India, Indonesia and Malaysia.
Gravity plus quadratic drag against the air (the wind moves the air), terminal speed about 7.7 m/s: it leaves the racket fast, slows hard and drops steeply, cork first (it flips over after each hit). Smashes leave a trail. Shot speed and angle come from a solver that fires the same integrator the live shuttle uses, so the landing ring is exact.
Rally scoring to 15, win by 2, capped at 21. Serve underhand and diagonally from the right court when your score is even and the left when it is odd; the serve must land in the opposite box, past the short service line. The shuttle must clear the rope and land inside the chalk lines (singles court, 5.2 x 13.4 m). Touching the rope, hitting the net, out, or landing on your own side is a point to the other player. The rally winner serves.
One HIT button. What it plays depends on the shuttle's height and where you stand: high is a SMASH (you jump for a very high one), mid is a DRIVE, low near the net is a NET SHOT, low and far back is a CLEAR. Hold the button briefly for a deep CLEAR. The stick (or WASD / arrows) moves and aims. Press with the shuttle in your sweet spot for PERFECT; GOOD and LATE drift off target. Serve: tap for a short serve, hold for a long high serve (release inside the white zone of the meter).
window.__shuttle exposes state, score, ball, players, setLocation, setTime, startGame, bot, aiBoth, speed, sim(seconds), step(n). bot = true lets a scripted player drive your side through the normal human control path; aiBoth = true lets the AI play both sides. sim() steps the game headlessly with no rendering.
Edit game.html, then run ./build.sh to regenerate index.html.