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