Skip to content

Instantly share code, notes, and snippets.

@kr-ish
Created July 15, 2024 23:12
Show Gist options
  • Save kr-ish/c036727b6f3879099765a00696660674 to your computer and use it in GitHub Desktop.
Save kr-ish/c036727b6f3879099765a00696660674 to your computer and use it in GitHub Desktop.
#healing
import time
INITIAL_TIME = 3
ON_TIME = 10
REST_TIME = 5
TOTAL_REPS = 10
ON_TEXT = """
░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░ ░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒▒▓███▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓█▓▒░░▒▓█▓▒░
░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░ ░▒▓██████▓▒░
"""
REST_TEXT = """
`8.`8888. ,8'
`8.`8888. ,8'
`8.`8888. ,8'
`8.`8888.,8'
`8.`88888'
.88.`8888.
.8'`8.`8888.
.8' `8.`8888.
.8' `8.`8888.
.8' `8.`8888.
"""
print("Ready?")
for x in reversed(range(INITIAL_TIME)):
print(x + 1, end="\r")
time.sleep(1)
for _ in range(TOTAL_REPS):
print(REST_TEXT, end="\r")
time.sleep(REST_TIME)
print(ON_TEXT, end="\r")
time.sleep(ON_TIME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment