Langton's Ant simulator in Powershell
This program simulates the classic computing demonstration Langton's Ant in the comfort of your console. Makes for a great screensaver with a bit of setup.
.\ant.ps1 -Delay <Integer> -Facing <0-3>
Sets the delay between ant moves in milliseconds (ms). Lower numbers mean the ant moves faster.
Default is 125.
Changes the ant's initial direction.
0 = Up
1 = Right
2 = Down
3 = Left
Default is 0 (Up).
Happy anting!!