Skip to content

Instantly share code, notes, and snippets.

View iconmaster5326's full-sized avatar

Iconmaster iconmaster5326

View GitHub Profile
@iconmaster5326
iconmaster5326 / rules.txt
Last active May 17, 2022 21:31
Yugioh: Resummoned
100. Prerequisites
1. Yugioh: Resummoned is played by two or more players.
2. To play, each player needs to provide a deck of Yugioh: Resummoned cards. The requirements of each player's deck depends on the format of play.
a. In constructed formats, decks must be at least 40 cards large, and there may be no more than 1 card with each name in the deck.
b. In limited formats, decks must be at least 30 cards large.
3. To play, each player needs some means of tracking their life point total.
4. Players may also optionally have a sideboard, a set of cards each player may use to modify their deck between duels in a match. The requirements of each player's sideboard depends on the format of play.
a. In constructed formats, the sideboard may be up to 15 cards large. There may be no more than 1 card with each name in the sideboard.
b. In limited formats, the sideboard consists of all cards received during the event that are not in the deck.
5. Formats may impose furth
"""
This script finds the minimal number of steps required to breed a golden
quintar, given an initial stable state.
Note that, due to its multi-threaded nature, there is a very small but finite
probability it does not return a minimal solution, but it will be at most one
step away from a minimal one. Also note that this script considers things like
releasing quintar or obtaining them from the game world steps; finding the
minimal number of breeding steps or the minimal number of quintar races required
would take considerably higher computing power.
@iconmaster5326
iconmaster5326 / terraria_player.ksy
Last active February 22, 2023 19:08
This is a Kaitai Struct description file for Terraria .plr files. Do note that some things, such as creative powers, are not yet implemented.
meta:
id: terraria_player
file-extension: plr
endian: le
bit-endian: be
imports:
- vlq_base128_le
doc: |
The format for Terraria player files. This format has only been tested on
Terraria 1.4 (version 234). Note that you must decrypt the file first before
@iconmaster5326
iconmaster5326 / pokestats.csv
Last active May 30, 2019 19:19
The most popular Pokemon, according to number of FurAffinity submissions made.
lucario 55972
pikachu 44987
eevee 38902
umbreon 32367
charizard 29778
mew 29767
hypno 26517
arcanine 23193
raichu 22210
vaporeon 19795
@iconmaster5326
iconmaster5326 / catacomb.md
Last active October 19, 2018 23:30
Catacomb Composition Algorithm

Composition

Composition is the act of taking a stack and a function, and producing the type signature of the resulting stack. It can also be equivalenty seen as the composition of two functions' execution.

  1. Generate constraints from the stated type sigs of your functions.
  2. Match the RHS of the LHF, and the LHS of the RHF, from right to left. If the two symbols are:
    • Base types: Fail if one is not a parent type of the other. Otherwise, move on.
    • Both function types: Add a constraint {a -- b} = {c -- d} and run step (4) early. If this produces an invalid constraint, try again by introducing a new variable x
@iconmaster5326
iconmaster5326 / quick_start.md
Last active February 18, 2018 20:04
Typhon: Quick start

Typhon Quick Start

This is a short guide to using TnClipse to inspect and run Typhon files.

Installing Eclipse

If you don't already have an Eclipse installation, download Eclipse here. Any configuration of Eclipse should do. The process should be guided by Eclipse, so no explanation is necesary here.