{"repo":"ManevilleF/bevy_life","free":true,"listed":false,"github":"https://github.com/ManevilleF/bevy_life","clone":"git clone https://github.com/ManevilleF/bevy_life.git","description":"Generic cellular automaton plugin for bevy.","language":"Rust","stars":82,"topics":["rust","bevy","bevy-plugin","game-of-life","cellular-automaton","cellular-automata","conway","gamedev"],"license":"MIT","category":"game-templates","readme_excerpt":"Bevy Cellular Automaton bevy life is a generic plugin for cellular automaton. From the classic 2D Conway’s game of life to WireWorld and 3D rules, the plugin is completely generic and dynamic. See: Game of life variations Wireworld implementation (see this lib's implementation) How to use Add a CellularAutomatonPlugin to your bevy app: A CellularAutomatonPlugin has two generic types: C - Any type implementing Cell , defining the coordinate system S - Any type implementing CellState , defining the simulation rules. You may add as many generic CellularAutomatonPlugin as wished, the lib provides some implementations like: GameOfLife2dPlugin GameOfLife3dPlugin ImmigrationGame2dPlugin ImmigrationGame3dPlugin RainbowGame2dPlugin RainbowGame3dPlugin WireWorld2dPlugin WireWorld3dPlugin CyclicColors2dPlugin CyclicColors3dPlugin Then you may use bevy as usual and add impl Cell and impl CellState components to the entities. The lib provides some implementations like MooreCell2d or MooreCell3d for cells and ConwayCellState , WireWorldCellState , etc for states. You may implement your own cells (coordinate system) and states (rules) as you want, the cellular automaton system is completely dynamic and generic. For more information you may look at some examples: The Classic examples showcase the provided implementations the Rock Paper Scissor defines custom rules. the wireworld repository Pausing Inserting a SimulationPause resource will pause the simulation, removing it wil resume the it. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ManevilleF","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ManevilleF/bevy_life/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}