leuft mit neuer engine

This commit is contained in:
Michael S. 2024-01-16 14:53:01 +01:00
parent 850be5c706
commit fc97cb0c76
5 changed files with 1 additions and 2 deletions

Binary file not shown.

View file

@ -10,7 +10,6 @@ class tengine():
print(self.strscreen(),end="\r")
def bg_char(self, char=' '):
self.prfeld()
for a in range(len(self.screen)):
for b in range(len(self.screen[0])):
self.screen[a][b] = char

2
v2.py
View file

@ -58,7 +58,7 @@ if __name__ == "__main__" and running == True:
startscreen = False
scene.bg_char(" ")
scene.set_block(scene,ascii.cowsay,[int(ty/2)-2,int (tx/2)-12])
scene.set_block(ascii.cowsay,[int(ty/2)-2,int (tx/2)-12])
cows = "🐵🐒🦍🦧🐕🐯🦝🐩🐅🐴🐎🦄🦌🐗🐂🐃🐄🐪🐫🦙🦒🐹🦘🦡🐧🕊️ 🦅🦆🦉🐍🦎🐊🦜🦚🦩🐲🐉🦕"
cowlistlength = len(cows)
cow = "#" #cows[random.randint(0, cowlistlength - 1)]