Forest fire: Difference between revisions
Content deleted Content added
→ANSI graphics: use constants for colors |
→ANSI graphics: make sure colors are cleared at the end |
||
Line 6,604: | Line 6,604: | ||
constant $GREEN = "\e[1;32m"; |
constant $GREEN = "\e[1;32m"; |
||
constant $CLEAR = "\e[0m"; |
constant $CLEAR = "\e[0m"; |
||
# make sure we clear colors at the end |
|||
END print $CLEAR; |
|||
enum Cell-State <Empty Tree Heating Burning>; |
enum Cell-State <Empty Tree Heating Burning>; |