跳到正文

MC Game of Life Sim

作者:cyberneel

This is a port of Conway's Game of life into Minecraft! You can spawn a grid and interact to change the cell states, and then simulate to see what happens!

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

What is it?

This mod is basically a port of the famous Conway’s Game of Life. The game is simple, you edit state of the grid and simulate the next step to see how it evolves based on pre-set rules.

The Rules

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

How to use?

You can create a 10×10 grid by running the command:

/spawn_gol_grid

This will create a gray grid nearby for you to interact with. Breaking a block removes the entire grid, while “using” or right-clicking on a block toggles its state between Alive (Red) and Dead (Gray).

Once you are ready and want to see how your grid evolves, run the following command:

/simulate_gol_step [steps count]

This will simulate the grid by the specified steps, you can keep running this command to see more evolution steps, or modify the grid before another simulation step. You can also right-click the magenta block to quickly simulate a step.

What’s Next?

I plan on adding more features and making the experience better as I learn more about MC modding. Some things I have planned are:

  • Better colors and textures
  • Reverse simulation
  • A control block for settings

常见问题

MC Game of Life Sim 支持哪些 Minecraft 版本?

MC Game of Life Sim 支持 Minecraft Java 版 1.20.3–1.20.6,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

MC Game of Life Sim 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分