For fun..
Game of life, where each cell is Elixir process. Cells communicate with each other sending messages.
Please refactor me...
To run: mix test
Starting agents done
Setting neighbours for 10000 agents done
Starting simulation
--------------
(11, 13)(12, 15)(12, 14)(13, 13)(13, 14)(16, 19)(16, 20)(17, 19)(17, 20)(29, 23)(30, 23)(31, 23)--------------
(11, 14)(12, 15)(13, 14)(13, 13)(13, 15)(16, 19)(16, 20)(17, 19)(17, 20)(30, 24)(30, 23)(30, 22)--------------
(12, 13)(12, 15)(13, 14)(13, 15)(14, 14)(16, 20)(16, 19)(17, 19)(17, 20)(29, 23)(30, 23)(31, 23)--------------
(12, 15)(13, 13)(13, 15)(14, 14)(14, 15)(16, 20)(16, 19)(17, 19)(17, 20)(30, 22)(30, 23)(30, 24)--------------
(12, 14)(13, 15)(13, 16)(14, 15)(14, 14)(16, 19)(16, 20)(17, 20)(17, 19)(29, 23)(30, 23)(31, 23)--------------
(12, 15)(13, 16)(14, 16)(14, 15)(14, 14)(16, 19)(16, 20)(17, 19)(17, 20)(30, 22)(30, 24)(30, 23)--------------
(13, 14)(13, 16)(14, 16)(14, 15)(15, 15)(16, 20)(16, 19)(17, 20)(17, 19)(29, 23)(30, 23)(31, 23)--------------
(13, 16)(14, 14)(14, 16)(15, 15)(15, 16)(16, 19)(16, 20)(17, 19)(17, 20)(30, 23)(30, 22)(30, 24)--------------
(13, 15)(14, 16)(14, 17)(15, 15)(15, 16)(16, 19)(16, 20)(17, 20)(17, 19)(29, 23)(30, 23)(31, 23)--------------
(13, 16)(14, 17)(15, 15)(15, 16)(15, 17)(16, 19)(16, 20)(17, 19)(17, 20)(30, 22)(30, 24)(30, 23)--------------
(14, 15)(14, 17)(15, 17)(15, 16)(15, 18)(16, 16)(16, 18)(16, 20)(16, 19)(17, 19)(17, 20)(29, 23)(30, 23)(31, 23)--------------
(14, 18)(14, 17)(15, 15)(16, 16)(16, 20)(17, 18)(17, 20)(30, 22)(30, 23)(30, 24)--------------
(15, 16)(15, 17)(16, 19)(17, 19)(29, 23)(30, 23)(31, 23)--------------
(16, 18)(30, 23)(30, 22)(30, 24)--------------
(29, 23)(30, 23)(31, 23)--------------
(30, 23)(30, 22)(30, 24)--------------
(29, 23)(30, 23)(31, 23)--------------
(30, 22)(30, 23)(30, 24)--------------
(29, 23)(30, 23)(31, 23)--------------
(30, 22)(30, 23)(30, 24)--------------
(29, 23)(30, 23)(31, 23) done
.
Finished in 10.4 seconds (0.04s on load, 10.4s on tests)