[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111110":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":14,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},111110,"kongroyale","MaximilianHansen\u002Fkongroyale","MaximilianHansen","Kong Royale: a 50-player banana battle royale in the browser","https:\u002F\u002Fkongroyale.com",null,"TypeScript",67,36,1,6,0,16,17,56.3,"Other",false,"main",[],"2026-11-20 01:46:06","2026-11-23 00:25:10","# Kong Royale\n\nA 50-player banana battle royale that runs in your browser. Play it at [kongroyale.com](https:\u002F\u002Fkongroyale.com).\n\n![The Kong Royale title screen](.github\u002Fassets\u002Ftitle.jpg)\n\nYou drop from the Banana Co. plane onto a jungle island, loot chests, and fight 49 other kongs while the storm closes\nin. Play solo or in trios; bots fill any empty seats.\n\nThe client is built with [three.js](https:\u002F\u002Fthreejs.org). The multiplayer server is Node.js with WebSockets. Both run\nthe same simulation code from `shared\u002F`, and the server has the final say on every hit, pickup and storm tick.\n\n![Freefall over the island](.github\u002Fassets\u002Fgameplay.jpg)\n\n## Status\n\n- **Status:** playable and in active development (version 0.2.0).\n- **To play:** a desktop browser with WebGL2, a decent GPU, and a keyboard and mouse or a controller. There are no\n  touch controls, so phones and tablets don't work yet.\n- **Limits:** there are no accounts and the server saves nothing between matches. Lobbies live in one server\n  process's memory.\n\n## Run it\n\nYou need [Node.js](https:\u002F\u002Fnodejs.org) 22.12 or newer.\n\n```sh\nnpm ci\nnpm run dev\n```\n\nPrefer [Bun](https:\u002F\u002Fbun.sh)? `bun install --frozen-lockfile` works in place of `npm ci`: it reads `package-lock.json` and\ninstalls the same versions, and refuses to run if the lockfile is out of date. npm stays the source of truth, so add or\nupdate dependencies with npm. Run everything on Node: Bun isn't supported as the runtime, because the simulation gives\ndifferent results under it.\n\nOpen \u003Chttp:\u002F\u002Flocalhost:5317\u002F> and press **Play**. That starts a match against 49 bots that runs entirely in your\nbrowser, so you don't need the server. Pick **Easy**, **Standard** or **Hard** bots on the title screen.\n\nUntil you start the server (below), the terminal keeps complaining that it can't reach `\u002Fhealth` on port 3020. That's\nharmless: practice matches don't use the server.\n\n### Controls\n\n| Key | Action |\n|---|---|\n| WASD | Move |\n| Mouse | Look |\n| Left \u002F right mouse | Fire \u002F aim |\n| Space | Jump, leave the plane, pull the chute |\n| Left Shift \u002F C | Sprint \u002F crouch |\n| R | Reload |\n| E | Interact: pick up, open chests, get in vehicles |\n| 1-5 or mouse wheel | Switch weapon |\n| G | Throw a banana bomb |\n| Tab \u002F M | Inventory \u002F map |\n| Middle mouse or Z | Ping |\n| B | Push to talk (squad voice) |\n| Esc | Menu and settings |\n\nYou can rebind every key in **Settings**. Controllers work too.\n\n### Firing range\n\n**Firing Range** on the title screen has every gun at every rarity, every heal and every ammo type, with targets from\n10 to 205 m. It uses the real match code for damage, falloff, spread and hit registration, so it's the quickest place\nto test a weapon change.\n\n### Online rooms\n\nTo play with friends on your own machine, start the server in a second terminal:\n\n```sh\nKR_EVENT_MODE=0 npm run server\n```\n\nThen open **Friends** on the title screen to create a room or join one by its code. `KR_EVENT_MODE=0` lets players\ncreate their own rooms; see [HOSTING.md](HOSTING.md) for what it and the other settings do.\n\n## Project layout\n\n| Folder | What's in it |\n|---|---|\n| `client\u002Fsrc\u002F` | The browser game: rendering, UI, audio, input and client prediction |\n| `client\u002Fsrc\u002Fworld\u002F` | The island you see: terrain, water, plants, sky, and one folder per location |\n| `shared\u002Fsim\u002F` | The game rules, run by both server and browser: movement, weapons, loot, storm, bots, vehicles |\n| `shared\u002Fnet\u002F` | The network protocol and the loop that runs a match |\n| `shared\u002Fworld\u002F`, `shared\u002Fpois\u002F` | The map: the terrain generator and the collision shapes of every location |\n| `server\u002F` | The Node server: lobbies, the 60 Hz match loop, admin lobbies, bug reports, voice relay |\n| `public\u002Fassets\u002F` | Models, textures, sounds and fonts the browser downloads |\n| `tools\u002F` | Tests, benchmarks and the admin key tool |\n\n[ARCHITECTURE.md](ARCHITECTURE.md) explains how the pieces fit together.\n\n## Check your changes\n\n```sh\nnpm run build   # build the game into dist\u002F (about 15 s)\nnpm test        # types, movement, swimming, animation, path finding, network parity, a headless match, security\n```\n\nRun the build first: one of the tests uses the built admin pages. The tests need no GPU, network or database and take\nabout two minutes. The same checks run on every pull request.\n\n## Run your own server\n\n```sh\nnpm ci\nnpm run build\nnpm start\n```\n\nThat serves the game and the multiplayer server on one port, 3020 by default. A build shows a simpler title screen\nwith one Play button and no Solo \u002F Trios, bot difficulty or Friends. Build with `VITE_KR_PLAYTEST=0 npm run build`\nfor the full one. [HOSTING.md](HOSTING.md) lists every setting and explains how to run it safely on the internet.\n\n## Contribute\n\nRead [CONTRIBUTING.md](CONTRIBUTING.md). Every change goes through a pull request, and the Kong Royale Committee of\nTruth and Prosperity reviews it before it can reach the live game. Using an AI coding agent? Point it at\n[AGENTS.md](AGENTS.md).\n\nQuestions: [Discussions](https:\u002F\u002Fgithub.com\u002FMaximilianHansen\u002Fkongroyale\u002Fdiscussions). Ideas for the game: open an **Idea** issue.\n\nFound a security problem or a cheat? Don't open an issue. See [SECURITY.md](SECURITY.md).\n\n## Licence\n\nThe code and the game's own art and audio are under the [MIT licence](LICENSE). A few files come from other people\nunder their own licences; they're listed in [CREDITS.md](CREDITS.md). The MIT licence covers the code and files, not\nthe **Kong Royale** name and logo: please don't use those for your own game or in a way that suggests it's official.\n","Kong Royale 是一款基于浏览器的 50 人香蕉主题大逃杀游戏，支持单人或三人小队对战。核心采用 three.js 实现 WebGL2 3D 渲染，Node.js + WebSocket 构建权威服务器，客户端与服务端共享同一份模拟逻辑，确保击中判定、拾取和风暴机制的一致性。游戏强调实时对抗与物理反馈，包含武器切换、香蕉炸弹投掷、载具交互及小队语音等完整玩法。适用于桌面端高性能浏览器环境，适合休闲竞技、朋友联机及轻量级多人射击体验场景。",2,"2026-11-24 04:40:09","CREATED_QUERY"]