from os import get_terminal_size class tengine(): tx, ty = get_terminal_size().columns, get_terminal_size().lines #feld = [[""]*10]*10 feld = [["","","",],["","","",],["","","",]] test = 0 for a in feld: for b in a: print(test) b = test test +=1 print(feld) def strfeld(): back = "" for a in tengine.feld: for b in a: back += b back += "\n" return back def addchar(character=str,position=list): tengine.feld[2][2] = "a"