Skip to content

Instantly share code, notes, and snippets.

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

SorkoPiko

🏠
Working from home
View GitHub Profile
@SorkoPiko
SorkoPiko / goldenCookieSettings.js
Created May 15, 2022 22:17
Cookie Clicker add-on adding settings to control how golden cookies behave.
if(GoldenCookieSettings === undefined) var GoldenCookieSettings = {};
if(typeof CCSE == 'undefined') Game.LoadMod('https://klattmose.github.io/CookieClicker/CCSE.js');
GoldenCookieSettings.launch=function(){
GoldenCookieSettings.isLoaded = 1;
GoldenCookieSettings.GetMenuString = function(){
var str = '<div class="listing">' +
CCSE.MenuHelper.Slider("cookieDropMultiplier", 'Golden Cookie Drop Multiplier', 'x[$]', function(){return GoldenCookieSettings.dropMultiplier},'GoldenCookieSettings.setCookieDropMultiplier(Math.round(l(\'cookieDropMultiplier\').value));l(\'cookieDropMultiplierRightText\').innerHTML=\'x\'+GoldenCookieSettings.dropMultiplier;',1,1000000,1) +
CCSE.MenuHelper.Slider("cookieTimeMultiplier", 'Golden Cookie Spawn Rate Multiplier', 'x[$]', function(){return GoldenCookieSettings.timeMultiplier},'GoldenCookieSettings.setCookieTimeMultiplier(Math.round(l(\'cookieTimeMultiplier\').value));l(\'cookieTimeMultiplierRightText\').innerHTML=\'x\'+GoldenCookieSettings.timeMultip

609544328737456149

from time import sleep
hour = input('Type in the amount of hours for the Timer: ')
minu = input('Type in the amount of minutes for the Timer: ')
sec = input('Type in the amount of seconds for the Timer: ')
if int(hour) == 0:
sleep(0)
if int(hour) == 1:
sleep(3600)
if int(hour) > 1:
sleep(3600 * int(hour))
# Ghost Game
from random import randint
print ('Ghost Game')
feeling_brave = True
score = 0
while feeling_brave:
ghost_door = randint(1, 3)
print('Three doors ahead...')
print('A ghost behind one.')
print('Which door do you open?')