1. Cat's Eye Technologies
  2. REDGREEN

Commits

Sgeo  committed f2394f4

Fix Fish

A fish surrounded on all sides by fish should not turn into air. This _might_ be better than reversing the instructions, but not sure.

  • Participants
  • Parent commits 69559ab
  • Branches default

Comments (0)

Files changed (1)

File src/redgreen.alp

View file
  is Steamy;
 
 state Fish "f"
-  to Air when not 1 Water,
+  to Air when not 1 Water and not 8 Fish,
   to Water when 4 Fish or 7 Water;
 
 state OnePebble "."