Skip to content

Instantly share code, notes, and snippets.

View slendidev's full-sized avatar
👁️
Hello

λxy.x slendidev

👁️
Hello
View GitHub Profile
@slendidev
slendidev / dice.py
Created February 4, 2018 21:22
A simple dice rolling program made in Python 3.6
from random import randint
from time import sleep
dicenum = randint(1, 6)
print("Rolling dice...")
print("")
print(" _______ \n /\ \ \n /()\ () \ \n/ \_______\ \n\ /() / \n \()/ () / \n \/_____()/")
print("")
@slendidev
slendidev / box_gen.py
Created January 18, 2018 22:08
Create boxes in python! Usage: python box_gen [lenght] [height] (--help)
# -*- coding: utf-8 -*-
from time import sleep
import sys
def gen_box(lenght, height):
box = ""
i = 0
while i != height:
y = 0