Tree @master (Download .tar.gz)
REDGREEN
Cellular Automaton
REDGREEN is a successor to RUBE. Unlike RUBE, REDGREEN is a proper cellular automaton (CA): the next state of each cell is determined only by its current state and the states of its neighbours.
Implementation
This implementation of REDGREEN is written in ALPACA and compiled to a Perl script using the reference ALPACA compiler. As a language for expressing CA's, ALPACA is much, much clearer than C (the language in which RUBE was implemented.) In fact, the need for a clear description language for RUBE's successor was one of the driving forces behind the development of ALPACA. REDGREEN is an extremely complex automaton, making full use of ALPACA's "class of states" feature.
The REDGREEN Universe
| State | Symbol | Description |
|---|---|---|
| Air | Heavy things like water and pebbles fall through air. Light things like smoke and steam rise in air. Air is required for a fire to keep burning. | |
| Water | ~ |
Heavy solid things like pebbles fall into water. Light things like steam or smoke make rising bubbles in water. Boils to steam when heated, but also puts out open fires. Fish can live a John Conway's Life in water. |
| Fire | % |
Heavy things like pebbles fall through fire; water puts it out. Requires flammable fuel and air to keep burning, otherwise goes up in smoke. Spreads to adjacent flammables like twigs and heats up adjacent non-flammables like rock. |
| Earth | # |
Stops things which would otherwise fall from falling. Can be heated up to magma by adjacent fire. |
| Magma | & |
Heated-up earth, will cool down to earth if no adjacent fire or magma is present. Can boil water. |
| Steam | s |
From boiling water, rises in air. |
| Smoke | @ |
From fire, rises in air. |
| Bubble | o |
From air or steam or smoke, rises in water. |
| Fish | f |
Lives a John Conway's Life in water. |
| Pebble | . |
Falls through air. |
| Two Pebbles | : |
Two pebbles stacked together, also falls through air. |
| Spark | * |
An electrical phenomenon living a WireWorld existence. |
| Tail | - |
The trail of a spark. |
| Wire | = |
Conducts electricity (sparks). |
| Zappy | z |
Shot off by sparks. Can set flammables on fire. |
| Big Zappy | Z |
Also shot off by sparks. Can also set flammables on fire. |
| Duct Tape | D |
Flammable. Things can stick to it. It can unravel. |
| "Oh No" Tape | O |
Flammable. Duct tape that's unravelling. |
| Twig | l |
Flammable. |
| Conveyor Left | < |
Moves twigs, pebbles etc. on top of it to the left. |
| Conveyor Right | > |
Moves twigs, pebbles etc. on top of it to the right. |
| Randomizer | ? |
Randomly flips the direction of the Conveyor adjacent above it. |
| Torch | T |
Provides endless fuel for a fire. |
Commit History
@master
git clone https://git.catseye.tc/REDGREEN/
0
»»
- Small cleanup to repo layout. Chris Pressey 1 year, 10 months ago
- Switch to DAM {Editable, Saveable} for configuration management. Chris Pressey 1 year, 10 months ago
- Update links. Chris Pressey 2 years ago
- Merge pull request #2 from catseye/develop-1.1-2018.1 Chris Pressey (commit: GitHub) 8 years ago
- Update yoob.js to 0.13, JSONP examples, launcher script. Chris Pressey 8 years ago
- Added tag rel_1_1_2015_0629 for changeset 1decbb9b0547 Chris Pressey 11 years ago
- Regenerate using new version of alpaca that understands `guess`! Chris Pressey 11 years ago
- Update yoob.js to 0.7-2015.0108. Chris Pressey 11 years ago
- Update yoob.js files to version 0.7. Add Reset button. Chris Pressey 11 years ago
- Added tag rel_1_1_2014_0819 for changeset b048ec71621a Chris Pressey 12 years ago
- Update yoob.js dependencies to 0.6 and use PresetManager. Chris Pressey 12 years ago
- Move license to separate file. catseye 13 years ago
- Update REDGREEN demo w/latest yoob.Controller, example sources. catseye 13 years ago
- Make the steam example not expand infinitely (annoying in browser.) catseye 13 years ago
- Update the version of yoob.Controller. catseye 13 years ago
- I think we can do without the batchfile. catseye 13 years ago
- Generate JS with alpaca, add demo in HTML using yoob.js. catseye 13 years ago
- Make README more readable. catseye 13 years ago
- Convert documentation to Markdown. catseye 13 years ago
- Merge pull request #1 from Sgeo/patch-1 Cat's Eye Technologies 13 years ago
- Fix Fish Sgeo 13 years ago
- Take executable bit off non-executable files. catseye 14 years ago
- Added tag rel_1_1_2011_1214 for changeset 9bfbc9329e1a catseye 14 years ago
- Import of REDGREEN 1.1 revision 2011.1214 sources (just HTML fixes.) catseye 14 years ago
- Added tag rel_1_1_2010_0721 for changeset 9139d83848e6 catseye 14 years ago
- Import of REDGREEN 1.1 revision 2010.0721 sources (just an HTML fix.) catseye 14 years ago
- Added tag rel_1_1_2007_0722 for changeset a09c92c7e670 catseye 14 years ago
- Import of REDGREEN version 1.1 revision 2007.0722 sources. catseye 14 years ago
- Added tag rel_1_0_2007_0503 for changeset cf566747d016 catseye 14 years ago
- Initial import of REDGREEN version 1.0 revision 2007.0503 sources. catseye 14 years ago
0
»»