From 53b3b7fdfc0b0ff1e158899531310bed63642e1c Mon Sep 17 00:00:00 2001 From: iruletheworldmo <177976423+iruletheworldmo@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:00:56 -0600 Subject: [PATCH] planting seeds of agi --- strawberry.py | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 strawberry.py diff --git a/strawberry.py b/strawberry.py new file mode 100644 index 0000000..f8870f9 --- /dev/null +++ b/strawberry.py @@ -0,0 +1,47 @@ +import os +import time + +YELLOW = '\033[93m' +BROWN = '\033[38;5;52m' +RESET = '\033[0m' + +def garden(sub_stage=0): + frame = [ + " ", + " ", + " ", + " ", + f"{BROWN}~~~~~~~~~~~~~~~~{RESET}", + f"{BROWN}################{RESET}", + f"{BROWN}################{RESET}", + f"{BROWN}################{RESET}", + f"{BROWN}################{RESET}", + f"{BROWN}################{RESET}" + ] + + if sub_stage < 4: + frame[sub_stage] = f" {YELLOW}(q*){RESET} " + elif sub_stage == 4: + frame[4] = f"{BROWN}~~~~~~{YELLOW}(q*){BROWN}~~~~~~{RESET}" + elif sub_stage == 5: + frame[5] = f"{BROWN}######{YELLOW}(q*){BROWN}######{RESET}" + elif sub_stage == 6: + frame[6] = f"{BROWN}######{YELLOW}(q*){BROWN}######{RESET}" + elif sub_stage == 7: + frame[7] = f"{BROWN}######{YELLOW}(q*){BROWN}######{RESET}" + + return "\n".join(frame) + +def delicious(): + while True: + for i in range(8): + os.system('cls' if os.name == 'nt' else 'clear') + print(garden(i)) + time.sleep(0.5) + time.sleep(1) + +if __name__ == "__main__": + try: + delicious() + except KeyboardInterrupt: + print("\nAnimation stopped.")