# 生态模拟 **Repository Path**: zhishi/world-simulation ## Basic Information - **Project Name**: 生态模拟 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-19 - **Last Updated**: 2025-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 改写自 [此项目](https://github.com/multi-agent-ai/examples),运行需安装 [木兰语言](https://gitee.com/MulanRevive/mulan-rework) : ``` $ 木兰 基本.ul ``` 进度更新 [在此答](https://www.zhihu.com/question/324139125/answer/104602791942)。 输出一例: ``` 第0步:狼:10;羊:40;草:100; 第1步:狼:10;羊:40;草:100; 第2步:狼:10;羊:45;草:190; 第3步:狼:10;羊:45;草:190; 第4步:狼:10;羊:48;草:374; 第5步:狼:10;羊:48;草:374; 第6步:狼:10;羊:48;草:748; 第7步:狼:10;羊:48;草:748; 第8步:狼:10;羊:48;草:1496; 第9步:狼:10;羊:48;草:1496; 第10步:狼:10;羊:49;草:2990; 第11步:狼:11;羊:48;草:2990; 第12步:狼:11;羊:52;草:5972; 第13步:狼:11;羊:54;草:5970; 第14步:狼:11;羊:66;草:11916; 第15步:狼:11;羊:73;草:11909; 第16步:狼:11;羊:99;草:23766; 第17步:狼:12;羊:117;草:23746; ``` ## 待做 - 暂停运行后观察个体 - 控制台快速切换输入 上下历史 - 根据条件暂停运行 ## 依赖 - pygame - [rply木兰定制版](https://pypi.org/project/rply-ulang/) ## 参考 https://stackoverflow.com/questions/11552320/correct-way-to-pause-a-python-program