Resize hard grid to prevent api limitations

Fixes #17
pull/36/head
Stijn De Clercq 2021-02-08 20:22:22 +01:00
parent 028a4e5e90
commit 9fb4cc11f2
1 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class Minesweeper(commands.Cog):
dimensions = {
"e": [5, 5, 4],
"m": [10, 10, 20],
"h": [13, 13, 35]
"h": [13, 8, 35]
}
numbers = {
@ -68,6 +68,7 @@ class Minesweeper(commands.Cog):
# Join the grid into a string
li = [" ".join(row) for row in grid]
print("\n".join(li))
return "\n".join(li)
# Counts the amount of bombs near a given cell