Skip to content

Instantly share code, notes, and snippets.

View JustinG721's full-sized avatar

Justin Grant JustinG721

View GitHub Profile
@JustinG721
JustinG721 / 0_reuse_code.js
Created July 26, 2017 13:31
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@JustinG721
JustinG721 / minesweeper.py
Last active January 17, 2018 17:09
crappy minesweeper
#simple text minesweeper
#Justin Grant
import random
import sys
#user can specify size of the board
def boardSize(size):
board = [[' '] * size for _ in range(size)]