Remove All Ads from XDA

[GAME] Langton's Ant

100 posts
Thanks Meter: 23
By FireFly, Senior Member on 7th May 2011, 07:19 PM
Post Reply Email Thread


Langton's Ant is actually a two-dimensional cell automaton that evolves by following very simple rules.
It was invented by scientist Christopher Langton in 1986 and helped to highlight an example of emergent behavior.

The two basic rules are:
¤ If the ant is on a black square, it turns right, changes the color to white and moves forward
¤ If the ant is on a white square, it turns left, changes the color to black and moves forward

These simple rules lead to a surprising behavior of the ant:
The ant builds a road that repeat indefinitely

Here are the main features of my implementation:

¤ Play/Pause/Clear buttons
¤ Changing the speed
¤ Changing the size of the world
¤ Changing the background color
¤ Changin the rules:
- 35 predefined rules
- create your own rules
¤ Creation of multiple states automatons
¤ Add as many ant as you want, simply by touching the screen!

There are many extensions (several colors, states, etc.) but it's up to you to discover them.

For any bug, suggestion or information contact me at:

- Available in French and English
- Compatible with all screens
- Compatible with all android versions

For more information, visit the official wiki:

Or on this one, about Turmites (multiple states automaton) :



From an Android Device

From the web market

The Following 2 Users Say Thank You to FireFly For This Useful Post: [ View ] Gift FireFly Ad-Free
8th May 2011, 01:59 PM |#2  
OP Senior Member
Thanks Meter: 23
Edit : Modification of the QRCode (Null Pointer)
21st May 2011, 04:21 PM |#3  
Junior Member
Thanks Meter: 0
One again o_O
I had not seen this before.

thanks for sharing
12th June 2011, 09:23 PM |#4  
Junior Member
Thanks Meter: 0
Will there be an option to send our rules like there was in the game of life, because I have some good ones.
13th June 2011, 12:26 PM |#5  
OP Senior Member
Thanks Meter: 23
Well, honestly I'm working on it since 2-3 days.
And I'll prepare an other option to add to the "expert rules" section.
13th June 2011, 07:51 PM |#6  
Junior Member
Thanks Meter: 0
Thank you, you are a very reactive developer.
Could you tell me what the new option will be ?
14th June 2011, 07:09 PM |#7  
OP Senior Member
Thanks Meter: 23
It would be an option to specify the number of stpes after each instruction.
Something like :

turn rigth, two steps forward
turn left, five steps forward

I'm almost done with it
16th June 2011, 11:09 PM |#8  
OP Senior Member
Thanks Meter: 23
In fact I was very busy these days, so i didn't worked on it.
I think it would be for next week, be patient
19th June 2011, 11:40 AM |#9  
OP Senior Member
Thanks Meter: 23
Here is the update :
v2.0 :
- Fixed several minor issues
- Added option "Number of steps forward"
- Added 15 new rules
- Added a section of fans rules
- Ability to send your rules by mail

20th June 2011, 09:13 PM |#10  
Junior Member
Thanks Meter: 0
Finally it comes out ;D
I will send you my rules, and hope they will be in next update.
Good work by the way
23rd June 2011, 04:18 PM |#11  
MuF123's Avatar
Senior Member
Thanks Meter: 100
any way someone could upload apk of this? Market won't allow me to install this on my milestone

edit: also the game "Generations" looks interesting and it shows the same error when trying to install :/
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes