速報APP / 遊戲 / Langton's Ant

Langton's Ant

價格:免費

更新日期:2014-09-27

檔案大小:841k

目前版本:2.9

版本需求:Android 4.0 以上版本

官方網站:http://www.simon-marquis.fr/

Email:android@simon-marquis.fr

聯絡地址:73 promenade du Verger 92130 Issy-les-Moulineaux, FRANCE

Langton's Ant(圖1)-速報App

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:

Langton's Ant(圖2)-速報App

¤ 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

Langton's Ant(圖3)-速報App

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:

Langton's Ant(圖4)-速報App

¤ Changing the speed

¤ Changing the size of the world

¤ Changing the background color

Langton's Ant(圖5)-速報App

¤ Changin the rules:

- 35 predefined rules

- create your own rules

Langton's Ant(圖6)-速報App

¤ 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.

Langton's Ant(圖7)-速報App