aboutsummaryrefslogtreecommitdiff
path: root/examples/cgol.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-07-20 18:13:34 -0500
committerCody <cody@codyq.dev>2023-07-20 18:13:34 -0500
commit1219f5ed8aed0bcb6a416a194fce70f0a290309d (patch)
tree5759c263bc626d288cb69434d1f46e20af49f2de /examples/cgol.sloth
parent7c53e65cad365ec112d2ec1bd9c3091dbed05720 (diff)
parent52d6bc8533616dd642c96f8b6e72f459e1b4d465 (diff)
downloadsloth-1219f5ed8aed0bcb6a416a194fce70f0a290309d.tar.gz
Merge branch 'master' of github.com:slothlang/slothlang
Diffstat (limited to 'examples/cgol.sloth')
-rw-r--r--examples/cgol.sloth16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/cgol.sloth b/examples/cgol.sloth
index 4021e58..17ef31e 100644
--- a/examples/cgol.sloth
+++ b/examples/cgol.sloth
@@ -76,22 +76,6 @@ fn update(life: [Int], new: [Int]) {
fn display(life: [Int]) {
# Iterate through life
- #termclear();
- #var x: Int = 0;
- #while x < 59 {
- # var y: Int = 0;
- # while y < 240 {
- # # if the cell is alive, print
- # termpos(x, y);
- # if cval(x, y, life) == 1{
- # print("█");
- # } else {
- # print(" ");
- # }
- # y = y+1;
- # }
- # x = x+1;
- #}
for x in 3..62 {
for y in 0..240 {
termpos(x-3, y);