一个基于 Node.js 和 Socket.io 的实时多人合作狩猎游戏,玩家扮演狮子在草原上协同捕猎并分享猎物。
git clone https://cnb.cool/wdracky/lionking.git
cd lionking
npm install
npm start
http://localhost:3004lionking/ ├── server.js # 游戏服务器主文件 ├── package.json # 项目配置和依赖 ├── README.md # 项目文档 ├── public/ # 客户端文件 │ ├── index.html # 游戏主页面 │ ├── game.js # 客户端游戏逻辑 │ ├── style.css # 游戏样式 │ └── pics/ # 游戏素材 │ ├── background.png # 草原背景 │ ├── lion.png # 狮子精灵图 │ ├── goat.png # 山羊精灵图 │ └── pig.png # 野猪精灵图 └── index_just_web_demo.html # 单机版演示
本项目使用以下技术和平台开发:
草原之王 - 体验多人合作狩猎的乐趣!🦁✨
A real-time multiplayer cooperative hunting game built with Node.js and Socket.io, where players control lions to hunt together and share prey on the grassland.
git clone https://cnb.cool/wdracky/lionking.git
cd lionking
npm install
npm start
http://localhost:3004lionking/ ├── server.js # Main game server file ├── package.json # Project config and dependencies ├── README.md # Project documentation ├── public/ # Client-side files │ ├── index.html # Main game page │ ├── game.js # Client game logic │ ├── style.css # Game styles │ └── pics/ # Game assets │ ├── background.png # Grassland background │ ├── lion.png # Lion sprite │ ├── goat.png # Goat sprite │ └── pig.png # Pig sprite └── index_just_web_demo.html # Single-player demo
This project was developed using the following technologies and platforms:
King of the Grassland - Experience the joy of multiplayer cooperative hunting! 🦁✨