Skip to content

Instantly share code, notes, and snippets.

@Gapstare
Created March 17, 2022 18:24
Show Gist options
  • Save Gapstare/14f4c3d9bf74575103380ab9f1fea8fa to your computer and use it in GitHub Desktop.
Save Gapstare/14f4c3d9bf74575103380ab9f1fea8fa to your computer and use it in GitHub Desktop.
Python port of MS-DOS program SUXX.COM.
#!/usr/bin/python3
#
# Python port of SUXX.COM (https://www.pouet.net/prod.php?which=76778),
# sans music. Preferably used with a black background.
#
# Dependencies: ansicolors, click
# Bugs: Will not restore cursor state when shut down.
# Ported by El Topo 2022. License CC0.
from colors import color
from time import sleep
from click import clear
fu = """
◄►◄►◄►◄►◄► ◄► ◄►◄►◄► ◄► ◄► ◄► ◄► ◄►◄►◄► ◄► ♀♀
◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ♀♀
◄►◄►◄► ◄► ◄► ◄► ◄►◄► ◄►◄►◄► ◄► ◄► ◄► ◄► ♀♀
◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄► ◄►
◄► ◄►◄►◄►◄► ◄►◄►◄►◄► ◄► ◄► ◄► ◄►◄►◄► ◄►◄►◄►◄► ♂♂
dEATH-mETAL Rules !!! and you ?? suXX
Elite now's !!!"""
print("\x1b[?25l")
i = 0
while i > -1:
clear()
print(color(fu, fg=i))
sleep(0.5)
i = i + 1
if i == 16:
i = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment