Post Reply

[GAME] Langton's Ant

OP FireFly

7th May 2011, 06:19 PM   |  #1  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011


DESCRIPTION


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:

sim.dev.android@gmail.com


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

For more information, visit the official wiki:
http://en.wikipedia.org/wiki/Langton%27s_ant

Or on this one, about Turmites (multiple states automaton) :
http://en.wikipedia.org/wiki/Turmite


SCREENSHOTS





DOWNLOAD

From an Android Device

From the web market


Last edited by FireFly; 8th May 2011 at 12:58 PM.
The Following 2 Users Say Thank You to FireFly For This Useful Post: [ View ]
8th May 2011, 12:59 PM   |  #2  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011
Edit : Modification of the QRCode (Null Pointer)
21st May 2011, 03:21 PM   |  #3  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Mar 2011
One again o_O
I had not seen this before.

thanks for sharing
12th June 2011, 08:23 PM   |  #4  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Mar 2011
Hello,
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, 11:26 AM   |  #5  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011
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, 06:51 PM   |  #6  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Mar 2011
Thank you, you are a very reactive developer.
Could you tell me what the new option will be ?
14th June 2011, 06:09 PM   |  #7  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011
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, 10:09 PM   |  #8  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011
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, 10:40 AM   |  #9  
OP Senior Member
Thanks Meter: 23
 
100 posts
Join Date:Joined: Mar 2011
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


Enjoy
20th June 2011, 08:13 PM   |  #10  
Junior Member
Thanks Meter: 0
 
16 posts
Join Date:Joined: Mar 2011
Finally it comes out ;D
I will send you my rules, and hope they will be in next update.
Good work by the way

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank