Git Product home page Git Product logo

cellular_automata's Introduction

Excel中的生命游戏

用VBA实现的。

Wiki介绍: https://zh.wikipedia.org/wiki/%E5%BA%B7%E5%A8%81%E7%94%9F%E5%91%BD%E6%B8%B8%E6%88%8F

打开方式

Microsoft Excel打开文件,选择“启用宏” 注:不支持WPS

生命游戏的规则

  • “人口过少”:任何活细胞如果活邻居少于2个,则死掉。
  • “正常”:任何活细胞如果活邻居为2个或3个,则继续活。
  • “人口过多”:任何活细胞如果活邻居大于3个,则死掉。
  • “繁殖”:任何死细胞如果活邻居正好是3个,则活过来。

操作方式

点 Run 进化一代,Clean 清空所有。 手动将单元格填充为黑色即代表这个单元格是活的,涂白则代表死亡。

默认的这个模式可以无限生成小滑翔机。

cellular_automata's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.