even better line generation
This commit is contained in:
parent
f9ac423fdd
commit
b70138661d
6
minebash
6
minebash
@ -92,9 +92,9 @@ tailline = '└'
|
||||
def setup_strings(colcount):
|
||||
#setup lines to print at the end and start of the matrix, aswell as between rows
|
||||
global headline, midline, tailline
|
||||
headline = '┌' + "".join('───┬' for i in range(width-1)) + '───┐'
|
||||
midline = '├' + ''.join('───┼' for i in range(width-1)) + '───┤'
|
||||
tailline = '└' + ''.join('───┴' for i in range(width-1)) + '───┘'
|
||||
headline = '┌' + '┬'.join('───' for i in range(width)) + '┐'
|
||||
midline = '├' + '┼'.join('───' for i in range(width)) + '┤'
|
||||
tailline = '└' + '┴'.join('───' for i in range(width)) + '┘'
|
||||
|
||||
def endgame(msg=''):
|
||||
if msg != '':
|
||||
|
Loading…
Reference in New Issue
Block a user