- Download & install the Dotnet Core 3.1 SDK from here.
- Clone this project to your local machine, and cd into the project root
(You should see
CellularAutomata.sln
in anls
ordir
output). - Run
dotnet build
, ensuring no errors. - Run
dotnet run --project CellularAutomata
. The project should start up automatically. - Type
help
to see all the available commands.
Because the output utilizes emoji, it can look very different between machines. If you open up
CellularAutomata/Models/World.cs
and go to line 99 you can see various output options. You can
replace the number in square brackets on line 107 with whichever option is best for you.
Option 5 should be functional on ANY machine, because those are not emoji characters, but the characters are quite small, hence they are not the default.
Option 4 worked best on my linux machine, while option 1 worked best on my mac, but as long as your editor font matches your terminal font, you should be able to tell which will be best quickly.
You can follow the model found in CellularAutomata/Models/Rules/ConwayRuleEngine.cs
; That is, implement
the IRuleEngine interface in a new RuleEngine file.