Skip to content

Instantly share code, notes, and snippets.

View ffariajr's full-sized avatar
🏠
Working from home

Fernando Faria ffariajr

🏠
Working from home
View GitHub Profile
@ffariajr
ffariajr / discord_minesweeper.py
Created February 3, 2020 01:46
Discord Minesweeper Generator
from random import randint
mines = 20
height = 12
width = 12
field = [[0 for x in range(width)] for y in range(height)]
numbernames = ["zero","one","two","three","four","five","six","seven","eight","bomb"]
while mines > 0: