Skip to content

EK720/ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published