Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

ant

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.

Usage

.\ant.ps1 -Delay <Integer> -Facing <0-3>

Delay

Sets the delay between ant moves in milliseconds (ms). Lower numbers mean the ant moves faster.

Default is 125.

Facing

Changes the ant's initial direction.

0 = Up

1 = Right

2 = Down

3 = Left

Default is 0 (Up).


Happy anting!!

About

Langton's Ant simulator in Powershell

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages