Skip to content

A unique take on the classic game of Langtons Ant

License

Notifications You must be signed in to change notification settings

MorganMcmillan/ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ant: A unique take on the classic game of Langton's Ant

This crate adapts Langton's Ant by allowing the ant to move in 4 directions (Up, Down, Left, Right) instead of just left and right.

To prevent the ant from just walking in a straight line, the board wraps around to the other side.

Controls

s: take screenshot

r: reset the grid with new rules

e: exterminates all ants

c: change colors

d: spawn ant in the middle of the screen

w: write the state to the console

o: outputs the state into the clipboard

left click: spawn several ants at the cursor's position

right click: spawn only one ant at the cursor's position

Screenshots

1 2 3 4 5 6 7

About

A unique take on the classic game of Langtons Ant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages