Skip to content

Instantly share code, notes, and snippets.

View XChrisUnknownX's full-sized avatar

XChrisUnknownX

View GitHub Profile
@XChrisUnknownX
XChrisUnknownX / MarcGreenbergIsAwesome.py
Created September 27, 2018 18:33
MarcGreenbergIsAwesome.py
import time
import random
#can be used on any computer with python 3 installed or the debugger at
# https://www.onlinegdb.com/online_python_debugger
# inspired by a Facebook comment with the man who made the For the Record documentary.
awesome = "awesome"
MarcGreenberg = awesome
print("Enter",end=" ")
@XChrisUnknownX
XChrisUnknownX / GuessThePassword.py
Created September 27, 2018 18:05
GuessThePassword.py
import random
import time
letters = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
numbers = ["0","1","2","3","4","5","6","7","8","9"]
def createthepassword():
letters = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
numbers = ["0","1","2","3","4","5","6","7","8","9"]
letter = "letters"
number = "numbers"
password = [0,1,2,3,4,5,6]
@XChrisUnknownX
XChrisUnknownX / one of 10.py
Created September 21, 2018 12:30
one of 10.py
import random
import time
#joke program. succinctly the computer picks a number between 1 and 10 and you try to guess it. There is a 1/10 chance it will lie to you.
print("Hello. My name is Blade. I am a computer program. Let's play a game. I will choose a number between 1 and 10. I will choose a new number after each guess.")
while True:
print()
bladeisaliar = random.choice([False,False,False,False,False,False,False,False,False,True])
bladepicksanumber = random.randint(1,10)
bladepicksanumbers = str(bladepicksanumber)
print("Pick a number between 1 and 10.")
@XChrisUnknownX
XChrisUnknownX / chargen starter pack.py
Created September 12, 2018 17:04
chargen starter pack.py
import time
import random
def charactergen():
#SECTION BELOW PICKS GENDER AND NAME
import random
malenames = ["Gary", "Joshua",
"Christopher","Noah","Matthew","Michael","Scott","Anthony","Salvatore","William","Frank","Mark","Thomas","Carl","Claude","Vincent","James","Nathan","Stuart","Steven","Albert","Adam","Charles","Darius","Greg","Hank","Harold","Paul","Peter","Patrick","Constantine","Kevin","Robert","Raymond","Benjamin","Yuri","Jacob","Oswald","Robin","Nicholas","Jeremy","Leslie","Arnold","Jack","Bruce"]
femalenames = ["Jeanine","Joy","Jovanna","Christina","Christine","Helen","Patricia","Gwen","Whitney","Dawn","Jeanine","Miriam","Leyla","Brittany","Amy","Felicia","Whitney","Kayla","Karen","Yolanda","Yuri","Hannah","Deanna","Mary","Marie","Jane","Sara","Reyna","Laura","Wanda","Wilma","Brenda","Rebecca","Octavia","Caitlyn","Kate","Penelope","Leslie","Robin","Darlene","Doreen","Danielle","Rachel","Rosemarie","Anna","Stephanie","Nancy","Delilah","Diane","Renee","Beatrice","Sasha","Elle","Marjorie","Madel
@XChrisUnknownX
XChrisUnknownX / probability experiment.py
Created August 21, 2018 21:06
probability experiment.py
import time
import random
char = "zero"
letters = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
numbers = ["0","1","2","3","4","5","6","7","8","9"]
sevens = "mmmmmmm"
masternumber = []
for n in sevens:
which = random.choice([letters,numbers])
@XChrisUnknownX
XChrisUnknownX / chargenfunctionAugust2018-2.py
Created August 8, 2018 17:31
chargenfunctionAugust2018-2.py
def charactergen():
#SECTION BELOW PICKS GENDER AND NAME
import random
malenames = ["Gary", "Joshua",
"Christopher","Noah","Matthew","Michael","Scott","Anthony","Salvatore","William","Frank","Mark","Thomas","Carl","Claude","Vincent","James","Nathan","Stuart","Steven","Albert","Adam","Charles","Darius","Greg","Hank","Harold","Paul","Peter","Patrick","Constantine","Kevin","Robert","Raymond","Benjamin","Yuri","Jacob","Oswald","Robin","Nicholas","Jeremy","Leslie","Arnold","Jack","Bruce"]
femalenames = ["Jeanine","Joy","Jovanna","Christina","Christine","Helen","Patricia","Gwen","Whitney","Dawn","Jeanine","Miriam","Leyla","Brittany","Amy","Felicia","Whitney","Kayla","Karen","Yolanda","Yuri","Hannah","Deanna","Mary","Marie","Jane","Sara","Reyna","Laura","Wanda","Wilma","Brenda","Rebecca","Octavia","Caitlyn","Kate","Penelope","Leslie","Robin","Darlene","Doreen","Danielle","Rachel","Rosemarie","Anna","Stephanie","Nancy","Delilah","Diane","Renee","Beatrice","Sasha","Elle","Marjorie","Madeline","Theresa","Trish","Ja
@XChrisUnknownX
XChrisUnknownX / chargenfunctionAugust2018.py
Created August 8, 2018 17:18
chargenfunctionAugust2018.py
def charactergen():
#SECTION BELOW PICKS GENDER AND NAME
import random
malenames = ["Gary", "Joshua",
"Christopher","Noah","Matthew","Michael","Scott","Anthony","Salvatore","William","Frank","Mark","Thomas","Carl","Claude","Vincent","James","Nathan","Stuart","Steven","Albert","Adam","Charles","Darius","Greg","Hank","Harold","Paul","Peter","Patrick","Constantine","Kevin","Robert","Raymond","Benjamin","Yuri","Jacob","Oswald","Robin","Nicholas","Jeremy","Leslie","Arnold","Jack","Bruce"]
femalenames = ["Jeanine","Joy","Jovanna","Christina","Christine","Helen","Patricia","Gwen","Whitney","Dawn","Jeanine","Miriam","Leyla","Brittany","Amy","Felicia","Whitney","Kayla","Karen","Yolanda","Yuri","Hannah","Deanna","Mary","Marie","Jane","Sara","Reyna","Laura","Wanda","Wilma","Brenda","Rebecca","Octavia","Caitlyn","Kate","Penelope","Leslie","Robin","Darlene","Doreen","Danielle","Rachel","Rosemarie","Anna","Stephanie","Nancy","Delilah","Diane","Renee","Beatrice","Sasha","Elle","Marjorie","Madeline","Theresa","Trish","Ja
@XChrisUnknownX
XChrisUnknownX / continuousletters.py
Created August 5, 2018 02:23
continuousletters.py
import time
import random
char = "zero"
letters = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]
numbers = ["0","1","2","3","4","5","6","7","8","9"]
while True:
which = random.choice(["number","letter"])
if which == "number":
@XChrisUnknownX
XChrisUnknownX / roulette.py
Created August 1, 2018 16:22
roulette.py
roulettenumbers = ["1","2","3","4","5","6","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","0","00"]
#roulette numbers is a defunct list.
spins = 0
import time
import random
spacebar = " "
one = "1"
two = "2"
three = "3"
four = "4"
@XChrisUnknownX
XChrisUnknownX / simplified8ball.py
Created July 27, 2018 17:01
simplified8ball.py
import time
import random
while True:
print("The magic 8 ball will now let you ask a question.")
print("")
dinosaurs = input(" ")
print("")
if "?" in dinosaurs:
pass
else: