mirror of https://github.com/stijndcl/didier
parent
028a4e5e90
commit
9fb4cc11f2
|
@ -30,7 +30,7 @@ class Minesweeper(commands.Cog):
|
||||||
dimensions = {
|
dimensions = {
|
||||||
"e": [5, 5, 4],
|
"e": [5, 5, 4],
|
||||||
"m": [10, 10, 20],
|
"m": [10, 10, 20],
|
||||||
"h": [13, 13, 35]
|
"h": [13, 8, 35]
|
||||||
}
|
}
|
||||||
|
|
||||||
numbers = {
|
numbers = {
|
||||||
|
@ -68,6 +68,7 @@ class Minesweeper(commands.Cog):
|
||||||
|
|
||||||
# Join the grid into a string
|
# Join the grid into a string
|
||||||
li = [" ".join(row) for row in grid]
|
li = [" ".join(row) for row in grid]
|
||||||
|
print("\n".join(li))
|
||||||
return "\n".join(li)
|
return "\n".join(li)
|
||||||
|
|
||||||
# Counts the amount of bombs near a given cell
|
# Counts the amount of bombs near a given cell
|
||||||
|
|
Loading…
Reference in New Issue