Jump to content

Through the Living Wrath

Members
  • Posts

    7008
  • Joined

  • Last visited

  • Days Won

    16

Blog Entries posted by Through the Living Wrath

  1. Through the Living Wrath
    I am going to make a claim. Here it is:
    …000000.0000000… = 0
    …111111111.1111111111… = 0
    …222222222.22222222… = 0
    …3333333333.3333333… = 0
    (and so on for every possible digit)
    So!
    The lesson to take away
    If a single digit repeats before and after the decimal place infinitely, that number is equal to 0
    Do you want proof, my inquisitive friend?

    Well, you’ve come to the right place!
    Watson! My calculator!
    Imagine a number.
    0.111111111… (1s repeating to infinity)
    This number can be called x
    10x = 1.11111111…
    1.1111111… is just x + 1
    10x = x + 1
    9x = 1
    x = 1/9
    So, 1 repeating infinitely to the right of the decimal is equal to 1/9
    But… imagine a different number.
    Call the number y.
    y = …11111111111 (1s extending higher and higher to the left of the decimal point)
    Where x had a finite value, y is infinitely large.
    But it too has a finite value!
    “Great Scott!” - Watson
    We’ll get there.
    …111111111111111 multiplied by ten is simply …11111111111110, or y - 1
    10y = y - 1
    y = -1/9 = -x
     
    x + y = …11111111111.11111111111…
    x + y = x - x = 0
    …111111111111.1111111111… = 0
    y is what we call a 10-adic
    An infinitely large number that is equivalent to another number
    Its called a 10 adic because it is written in base-10.
    But there’s a problem with 10-adics which I will explain elsewhere (not today, though) which makes mathematicians prefer what is called a p-adic, or prime-adic
    This is any infinite number in a prime number system
    Most common are 3-adics and 5-adics
    These are cool!
     
    But let’s think about 17-adics
    ”Great Scott!” - Watson
    It’s prime out of the goodness of my heart
    With 10-adics, it’s easy to think that the only adics that can zero out with rational pairs (y being the adic and x being the rational) are made of the numbers 1-10
    But thats not the case
    G is the highest digit in base 17, representing the value of 16
    Set …GGGGGGGG to θ
    And 0.GGGGG… to φ
    θ * 10 (since we are in base 17, this is actually times 17) is
    …GGGGGGG0, or θ - G
    10θ = θ - G
    Gθ = -G
    θ = -1
    ”Great Scott!” - Watson
    Lets think about φ now
    φ * 10 = G.GGGGGGGG…
    or
    10φ=φ+G
    Gφ=G
    φ = 1
    So
    just like before
    θ = -φ
    and
    …GGGGGGGGGG.GGGGGGGGG… = 0

    So if we increase the size of our number system, we can fit more non-zero zeros into consideration.
    But we can increase as much as our heart desires! So
    I make a rule, in base-10, to describe all rational-adic sums that are equivalento 0

    Take a function:
    f(x) = b(a^x)
    Sum the value of the function at every single integer for x, and it will always be 0
    a and b can be any value at all.
  2. Through the Living Wrath
    def lsave(): path = input("Welcome Back! Path to your save file?\n\n [SAVE] ") sfile = open(path, "r") save = sfile.read() sfile.close() return(parse(save)) # Save List Syntax: # name, zone, map, location, equipped items, all items, path/to/file def parse(save): lists = save.rstrip().rsplit("\n") final = [] final.append(lists[9].split(";")[0]) final.append(lists[0].split(" ")[1]) final.append([]) for i in range(1, 8): final[-1].append(lists[i].split("|")) final.append(lists[9][-4:].split(", ")) final.append([lists[11].split(", ")[0][16:]]) for i in lists[11].split(", ")[1:]: final[-1].append(i) final.append([lists[13].split(", ")[0][11:]]) for i in lists[13].split(", ")[1:]: final[-1].append(i) final.append(lists[-1]) final[1:] return(final) def csave(): print("Name your character!\n") name = input(" [SAVE] ").split(" ") if not "CSWrath" in name: print(f"\n\nWelcome, {" ".join(name)}! I probably could have named a better character.\n") else: print("\n\nWell, that's something.\n") print("Define the path to your save file.\n") path = input(" [SAVE] ") defaultSave = f"""Map: Forest P|X|X|X|X|X|X X|X|X|X|X|X|X X|X|X|X|X|X|X X|X|X|X|X|X|X X|X|X|X|X|X|X X|X|X|X|X|X|X X|X|X|X|X|X|X {"|".join(name)}; 0, 0 Equipped Items: Rag, Simple Blade, 3, Empty All Items: Rag, Simple Blade {path} """ print("\n\nThanks! Creating File Now.") sfile = open(path, "w") sfile.write(defaultSave) return(parse(defaultSave)) def getsave(): print("Welcome to the Twisted Forest!\n\n ! Choose \"Load Save\" or \"Create Save\" !") valid = False while valid == False: action = input("\n [SAVE] ") print("\n\nThank you! Redirecting now.\n") if action.rstrip().lower() == "load save": return(lsave()) if action.rstrip().lower() == "create save": return(csave()) print("Incorrect Input. Try spelling.\n") def save(s): superstring = "Map: " superstring += s[1] superstring += "\n" for i in s[2]: for j in i: superstring += j superstring += "|" superstring += "\n" superstring += "\n" superstring += f"{s[0]}; {s[3][0]}, {s[3][1]}\n\nEqquiped Items: " for i in s[4]: superstring += f"{i}, " superstring = superstring[:-2] superstring += "\n\nAll Items: " for i in s[5]: superstring += f"{i}, " superstring = superstring[:-2] superstring += f"\n{s[-1]}\n"  
    A saving system I made. I think I got all the bugs, but if I didn't...
    yall know what bugs actually are?
    features
  3. Through the Living Wrath

    Code
    import random global cards global suit global discards global game cards = list(range(1, 53)) discards = [] suit = ["Clubs", "Diamonds", "Hearts", "Spades"] game = True # Place card in Discard def drawtodiscard(): global suit top = (drawCard()).split() specifiedsuit = suit.index(top[2]) discard(int(top[0])+(13*specifiedsuit)) def discard(card): global discards discards.append(card) # Checks if the deck needs shuffling. (Every slot is empty, equal to -1) def checkShuffle(): global cards for i in cards: if i != -1: return False return True # Draws a card from the deck, sets card slot empty def drawCard(): global cards global suit select = -1 while select == -1: card = int(random.random()*52) select = cards[card] cards[card] = -1 # Turns out 13 mod 13 is 0, not 13 if select % 13 != 0: print(f"{select % 13} of {suit[int(select/13)]}") return(f"{select % 13} of {suit[int(select/13)]}") else: print(f"13 of {suit[int(card/13)]}") return(f"13 of {suit[int(card/13)]}") # Shuffle the deck def shuffle(): global game global cards global discards if discards != []: for i in discards: cards[i-1] = i discards = [] else: print("Discard is empty. Reseting Game.") game = 0 return(True) # Main loop while (game): prompt = "\nActions:\n -Input a positive integer to draw that many cards.\n -Input the name of a card, formatted '(Number) of (Suit)', to discard it.\n -Type 'Draw to Discard' to flip over top card of deck\n -Type Save /path/to/save/file to save\n -Type Import /path/to/save/file to load a deck\n -Type Reset /path/to/save/file to reset deck and file\n\n" action = input(prompt).rstrip() # Determines the action by trying to convert it to an integer. If it fails, then keeps action as a string. draw = True try: action = int(action) except ValueError: draw = False if draw: for i in range(action): drawCard() if checkShuffle(): if shuffle(): cards = list(range(1, 53)) discards = [] suit = ["Clubs", "Diamonds", "Hearts", "Spades"] game = True break elif action == "Draw to Discard": drawtodiscard() # Check Command or Discard. The commands - "if parselist[0] ==..." take files given to them and writes deck and discard to them, or reads deck and discard from them. elif action != "" and action.split()[-1] != action.split()[0]: parselist = action.split() if parselist[0] == "Save": try: save = open(parselist[1], "w") save.write(" ".join(map(str, cards)) + "\n" + " ".join(map(str, discards))) save.close() except: print("Error Opening File") elif parselist[0] == "Import": try: save = open(parselist[1], "r") files = save.read().rstrip().split("\n") cards = list(map(int, files[0].split(" "))) discards = list(map(int, files[1].split(" "))) save.close() except: print("Error Opening File") elif parselist[0] == "Reset": try: cards = list(range(1, 53)) discards = [] save = open(parselist[1], "w") save.write(" ".join(map(str, cards)) + "\n" + " ".join(map(str, discards))) save.close() except: print("Error Opening File") else: # Parse what should be a discard valid = True try: specifiedsuit = suit.index(parselist[2]) except: valid = False if parselist[0].lower() == "a": parselist[0] = 1 if parselist[0].lower() == "j": parselist[0] = 11 if parselist[0].lower() == "q": parselist[0] = 12 if parselist[0].lower() == "k": parselist[0] = 13 try: num = int(action[0]) except ValueError: valid = False if valid: discard(num+(13*specifiedsuit)) else: print("Invalid Input") else: print("Invalid Input") This is python code
     
    I did give it to some friends to use in a project they're doing....
  4. Through the Living Wrath

    Magic
    This is probably the magic system I have the least compiled with, but it is very important to the rest of the books as it never really goes away - it just changes. There are certain things that remain constant, as seen in Era 3, when the Slumber preserves the Eternal King.
    So.
    There are two fountains of magic - the Deep, and the Flame.
    Lemme explain.
    Deep:
    The Flame:
    Interactions:
     
  5. Through the Living Wrath
    Name: Memory
    Classification: Power
    Ability: Block is not removed at the start of your turn.
    Cost: 3
     
    Name: Creative AI
    Classification: Power
    Ability: At the beginning of your turn, create a random power, which gains Ethereal.
    Cost: 2
     
    Name: Hack
    Classification: Skill
    Ability: Deal five poison to all enemies.
    Cost: 1
     
    Name: Automated Hax
    Classification: Skill
    Ability: Gain one poison orb
    Cost: 1
     
    Name: The BACKDOOR!
    Classification: Attack
    Ability: Deal 16 damage. If the enemy has poison, deal 16 damage again.
    Cost: 1
     
    Card: Fear No Essay
    Classification: Attack
    Ability: Deal 30 damage. If the enemy intends to attack, gain 20 block.
    Cost: 2
     
    Card: Pummel
    Classification: Attack
    Ability: Deal 8 damage 4 times
    Cost: 1
     
    Card: Enrage
    Classification: Skill
    Ability: Gain 4 strength. If the enemy intends to attack, gain 4 more.
    Cost: 2
  6. Through the Living Wrath
    Name: Double Attack!
    Classification: Attack
    Ability: Deal 14 damage twice
    Cost: 1
     
    Name: Expose hardware
    Classification: Attack
    Ability: Deal 3 damage and apply one vulnerable
    Cost: 0
     
    Card: Multi-front attack
    Classification: Attack
    Ability: Deal 30 damage. Deal X! extra damage, X being the amount of active orbs you have. Evoke all your orbs.
    Cost: 3
     
    Name: Capacity
    Classification: Power
    Ability: Increase orb slots by 2
    Cost: 1
     
    Name: Schooling
    Classification: Skill
    Ability: Gain 30 block
    Cost: 2
  7. Through the Living Wrath

    General
    Card: Skim the Web
    Classification: Skill
    Ability: Draw two cards, gain two energy.
    Cost: One.
     
    Card: Glass Cannon Form (I had tooooo… @Through The Living Glass)
    Classification: Power
    At the beginning of your turn, gain seven strength and lose five dexterity.
     
     
     
  8. Through the Living Wrath

    General
    Okokokokokokokokokok
    I've decided that I'll have one character type, so that I can get this game out with relative ease.
    I'll only be drawing the important ones (Like the form cards, for example, if any of yall have played slay the spire)
    The main builds that I will have are:
    Strength (Get powerful buffs to damage)                           - [Rage Against the Machine Build]
    Block (Have a ridiculous amount of block.)                        - [Elegance in Spelling build]
    Poison (Passive damage. May mix this with orbs)             - [Hacking build]
    So the card pool of the Ironclad is like 70-80, I think, so... imma aim for that.
    Checklist:
    Cards
    Relics (May call these Files)
    Battles
    Events
    Shops should be about the same.
  9. Through the Living Wrath
    This shall be the equivalent of the Ironclad Strength build...
    I will flesh this out first.
     
    Basic strikes and defends, with their rebranding, yes? However, imma scale the damage and defend value up so I can do silly things with strength.
    First card: CLAW IS LAW, ok. Sorry. That was wrong. However, this is essentially a mix of "claw" and "anger".
    Starts with half the damage of a strike, but is free to play. Every time it plays, the player gains one strength.
  10. Through the Living Wrath
    Tim pulled aside the rock at the entrance to his cave, dragging his reminder staff along with. The hunchback stepped outside of his small cave, and stared up at the sun until his eyes bled. Bled? He frowned, but then giggled.
    He wasn’t short. At least, not in the same ways. But there was something new. The gentle hunchback had come short when attempting to remind the sun of people’s eyes.
    Tim gave a small dance, shaking the staff and hollering gibberish. The skulls of the not-so-nice townsfolk rattled together, creating a strange melody pleasing to the hunchback’s ear.
    He looked up at the pooling clouds around him. Giggling gleefully, he embraced the gathering darkness as the sun was blotted out.
    He returned to his cave. Two months later, he heard a congregation of people outside his cave, as well as light. A group of angry people gathered, holding aloft torches and pitchforks. He giggled as he realized that their plants couldn’t grow.
    And then, he kindly reminded them that there are faster ways to die than starvation.
  11. Through the Living Wrath

    Tim, the Gentle Hunchback
    Once upon a time, there was a man named Tim. Now, Tim was short in multiple senses. Three, to be exact. His name, Tim, was short for Timoolra; he himself was not exactly very tall; and he was short on change. And so, he exited his home, rolling aside the stone that capped his small cave under the wall and striding into the sun.
    As he saw it, he flinched, looking up at the sun, one he hadn’t seen before in his life. He stared up at it, giggling. Tim leapt at the sun, attempting to kindly remind it that some people hurt their eyes.
    Tim fell flat on his twisted back. Giggling, Tim continued on. He was still short in too many senses. He arrived at the town, ignoring various screaming and fleeing townsfolk. When one poked him with a pitchfork, he gently reminded the townsfolk that there are sharper things than a pitchfork.
    Tim continued on, giggling at no-one in particular. He looked to a nice enough shopkeeper, who seemed to be quivering. Such a strange person. Tim kindly asked the shopkeeper for some money. The shopkeeper refused, so Tim gently reminded the not-so-nice shopkeeper that he needed money, using a knife to illustrate his point.
    Not too long afterwards, the not/so-nice shopkeeper gave him bags filled with a heavy coin, begging Tim to leave. Tim left, though not before reminding the shopkeeper of the fragile nature of the human body.
    Gleefully, Tim giggled as he rolled the stone aside from the wall and returned to his little cave.
×
×
  • Create New...