
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
**CONTRIBUTOR WANTED: I'm really sorry for not have enough time to maintain this project. I'm looking for contributors who willing to keep this project going. If you feel happy to join. Please contact me via my *: @huydotnet. Thank you so much!
https://img.shields.io/github/stars/huytd/agar.io-clone.svg](https://github.com/huytd/agar.io-clone/stargazers) https://img.shields.io/github/issues/huytd/agar.io-clone.svg](https://github.com/huytd/agar.io-clone/issues) https://img.shields.io/badge/project-wiki-ff69b4.svg](https://github.com/huytd/agar.io-clone/wiki/Home) !https://api.travis-ci.org/huytd/agar.io-clone.svg https://img.shields.io/badge/demo-online-green.svg](#live-demo) - https://badges.gitter.im/Join%20Chat.svg](https://gitter.im/huytd/agar.io-clone?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
A simple but powerful Agar.IO clone built with socket.IO and HTML5 canvas on top of NodeJS.
!Image
An updated and live list of live demos can be found on the https://github.com/huytd/agar.io-clone/wiki/Live-Demos.
You can check out how to play on our https://github.com/huytd/agar.io-clone/wiki/How-to-Play.
Game Basics
Gameplay Rules
-ping in the chatbox to check your ping, as well as other commands!You can simply click one of the buttons below to easily deploy this repo to Bluemix or Heroku:

Or...
You can check out a more detailed setup tutorial on our https://github.com/huytd/agar.io-clone/wiki/Setup.
Requirements
To run / install this game, you'll need:
Downloading the dependencies
After cloning the source code from Github, you need to run the following command to download all the dependencies (socket.IO, express, etc.):
npm install
Running the Server
After downloading all the dependencies, you can run the server with the following command:
npm start
The game will then be accessible at http://localhost:3000 or the respective server installed on. The default port is 3000, however this can be changed in config. Further elaboration is available on our https://github.com/huytd/agar.io-clone/wiki/Setup.
If you have https://www.docker.com/ installed, after cloning the repository you can run the following commands to start the server and make it acessible at http://localhost:3000:
docker build -t agarioclone_agar . docker run -it -p 3000:3000 agarioclone_agar
This is a clone of the game Agar.IO. Someone said that Agar.IO is a clone of an iPad game called Osmos, but we haven't tried it yet. (Cloneception? :P)
Well, while the original game is still online, it is closed-source, and sometimes, it suffers from massive lag. That's why we want to make an open source version of it: for educational purposes, and to let the community add the features that they want, self-host it on their own servers, have fun with friends and more.
No. This game belongs to the open-source community, and we have no plans on making money out of it nor competing with anything. But you can of course create your own public server, let us know if you do so and we can add it to our Live Demos list!
Sure you can! That's what it's made for! ;)
Of course! As long as your client supports WebSockets, you can write your game client in any language/technology, even with Unity3D if you want (there is an open source library for Unity to communicate with WebSockets)!
Yes you can.
We have an explicit https://github.com/huytd/agar.io-clone/wiki/Coming-Features list for the all the features we aim to develop in the future. Feel free to contribute, we'll be more than grateful.
You can check out the full license https://github.com/huytd/agar.io-clone/blob/master/LICENSE.
This project is licensed under the terms of the MIT license.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务