This program takes a state of game of life and tries to find it's initial state.
4 5 10
....*
..*.*
.*..*
..*.*..*.*
...**
**.**
*....Note that it can be more than one initial state, it just outputs one of them.
You can use bazel:
and run it with the following command:
$ bazel build //:main --cxxopt='-std=c++17'$ ./bazel-bin/main
You can use bazel:
$ bazel test tests:test --cxxopt='-std=c++17'Right now it uses brute-force approach to achieve the solution. It generates all possible states and evolve them to find out witch one reach the given state.