#ifndef INCLUDED_CELLULAR_AUTOMATON_H #define INCLUDED_CELLULAR_AUTOMATON_H #include #include "board.h" struct cellular_automaton { struct board board; uint8_t *back_board_bitarray; uint32_t function; }; void cellular_automaton_init (struct cellular_automaton *, uint32_t function, uint32_t rows, uint32_t cols); void cellular_automaton_free (struct cellular_automaton *); void cellular_automaton_progress (struct cellular_automaton *); #endif