farhanhubble commited on
Commit
6154f9c
·
1 Parent(s): 303dd32

Update: Add spacing on either side of game elements.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -230,7 +230,7 @@ def play(key):
230
  for row in range(map.shape[0]):
231
  body += "<p>"
232
  for col in range(map.shape[1]):
233
- body += f'{map[row,col]}'
234
  body += "</p>"
235
  body += "<p></p>"
236
  return f"<HTML> <body> {body} </body> </HTML>"
 
230
  for row in range(map.shape[0]):
231
  body += "<p>"
232
  for col in range(map.shape[1]):
233
+ body += f'&nbsp{map[row,col]}&nbsp'
234
  body += "</p>"
235
  body += "<p></p>"
236
  return f"<HTML> <body> {body} </body> </HTML>"