Skip to content

Instantly share code, notes, and snippets.

View shadowtime2000's full-sized avatar
😆
Because why not

shadowtime2000

😆
Because why not
View GitHub Profile
@shadowtime2000
shadowtime2000 / levellingXPSystem.js
Created September 26, 2020 20:51
Some levelling XP systems
// If levelling up makes it easier to get XP
const exponentialXPLevelling = (level, constant = 1) => level ** constant;
// If levelling up doesn't make it as easier to get XP
const levelGapXPLevelling = (level, constant = 1) => level**2 / constant;
@shadowtime2000
shadowtime2000 / readme.txt
Created July 13, 2020 00:34
Bomb Sweep (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@shadowtime2000
shadowtime2000 / find_palindromes.py
Last active July 12, 2020 03:40
A python program to brute force a DNA sequence to find all palindromes
dna_sequence = input("Insert DNA Sequence: \n")
dna_sequence = dna_sequence.upper()
palindrome_length = int(input("Insert length of palindrome: "))
matching = {
"A": "T",
"T": "A",
"C": "G",
"G": "C"
}