mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
parent
028a4e5e90
commit
9fb4cc11f2
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue