Skip to content

Instantly share code, notes, and snippets.

View XChrisUnknownX's full-sized avatar

XChrisUnknownX

View GitHub Profile
@XChrisUnknownX
XChrisUnknownX / GearsPopulationCounter.py
Created December 18, 2018 00:19
A Gears of War 4 Metagame for Python. Sets a random population at start or allows you input your own populations, then chooses random losses on each side per battle, with the winner more likely to take less losses. Has different classes of severity for each battle, impacting how many millions of humans or monsters die in any given battle. Also r…
import random
import time
humanpop = random.randint(1000000000,50000000000)
monsterpop = random.randint(1000000000,50000000000)
continue3 = input("If continuing game, type yes, no spaces or punctuation, lower case. ")
if continue3 == "yes":
continue1 = input("If continuing game, input humanpop. ")
continue2 = input("If continuing game, input monsterpop. ")
try:
humanpop = int(continue1)
@XChrisUnknownX
XChrisUnknownX / MovingO.py
Last active December 31, 2018 19:53
presents a board with 9 spaces and allows you to move up, down, left, right. Still teaching myself python.
a1 = "-"
a2 = "-"
a3 = "-"
b1 = "-"
b2 = "-"
b3 = "-"
c1 = "-"
c2 = "-"
c3 = "-"
up = "up"
@XChrisUnknownX
XChrisUnknownX / PAGESCALCULATOR.py
Last active February 5, 2019 23:55
You input the yearly salary you want and it breaks down how many pages you need at various rates (25 cents to 30 bucks), it also calculates the number of hours and workdays this would take assuming 20 pages an hour, 7-hour workdays.
rateset = []
addrate = .25
while 30 not in rateset:
rateset.append(addrate)
addrate += .25
print("Test. Printing rateset on next line.")
print(rateset)
while True:
try:
salary = input("Input the yearly salary you would like to make: ")
@XChrisUnknownX
XChrisUnknownX / PagesCalculation25k.txt
Created February 6, 2019 00:01
Displays the results of the page calculator with an annual salary of 25k.
In order to make $25000 a year at $0.25 a page:
You need to complete 100000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 5000.0 hours, which is the equivalent of 714.2857142857143 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $25000 a year at $0.5 a page:
You need to complete 50000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 2500.0 hours, which is the equivalent of 357.14285714285717 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation50k.txt
Created February 6, 2019 00:02
Displays the results of the page calculator with an annual salary of 50k.
In order to make $50000 a year at $0.25 a page:
You need to complete 200000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 10000.0 hours, which is the equivalent of 1428.5714285714287 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $50000 a year at $0.5 a page:
You need to complete 100000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 5000.0 hours, which is the equivalent of 714.2857142857143 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation75k.txt
Last active February 6, 2019 00:03
Displays the results of the page calculator with an annual salary of 75k.
In order to make $75000 a year at $0.25 a page:
You need to complete 300000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 15000.0 hours, which is the equivalent of 2142.8571428571427 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $75000 a year at $0.5 a page:
You need to complete 150000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 7500.0 hours, which is the equivalent of 1071.4285714285713 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation100k.txt
Created February 6, 2019 00:03
Displays the results of the page calculator with an annual salary of 100k.
In order to make $100000 a year at $0.25 a page:
You need to complete 400000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 20000.0 hours, which is the equivalent of 2857.1428571428573 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $100000 a year at $0.5 a page:
You need to complete 200000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 10000.0 hours, which is the equivalent of 1428.5714285714287 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation125k.txt
Created February 6, 2019 00:04
Displays the results of the page calculator with an annual salary of 125k.
In order to make $125000 a year at $0.25 a page:
You need to complete 500000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 25000.0 hours, which is the equivalent of 3571.4285714285716 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $125000 a year at $0.5 a page:
You need to complete 250000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 12500.0 hours, which is the equivalent of 1785.7142857142858 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation150k.txt
Created February 6, 2019 00:05
Displays the results of the page calculator with an annual salary of 150k.
In order to make $150000 a year at $0.25 a page:
You need to complete 600000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 30000.0 hours, which is the equivalent of 4285.714285714285 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $150000 a year at $0.5 a page:
You need to complete 300000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 15000.0 hours, which is the equivalent of 2142.8571428571427 7-hour work days.
@XChrisUnknownX
XChrisUnknownX / PagesCalculation175k.txt
Created February 6, 2019 00:05
Displays the results of the page calculator with an annual salary of 175k.
In order to make $175000 a year at $0.25 a page:
You need to complete 700000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 35000.0 hours, which is the equivalent of 5000.0 7-hour work days.
Keep in mind there are only 260 weekdays a year.
******************************
In order to make $175000 a year at $0.5 a page:
You need to complete 350000.0 pages a year.
At an average transcription speed of 20 pages an hour, this will take 17500.0 hours, which is the equivalent of 2500.0 7-hour work days.