Skip to content

Instantly share code, notes, and snippets.

View neonpixii's full-sized avatar
🕸️

spiders neonpixii

🕸️
View GitHub Profile

The Deck of Multitudes

An ornately carved box opens to reveal a deck of 22 cards. Any player who wishes to use the Deck of Multitudes declares how many cards they would like to draw (between 1 and 3) and draws exactly that many cards. The cards take effect in the order they are drawn. Once the player has finished, they may not draw again for a year.

1.  O - The Fool ............ (Joker)
2.  I - The Magician ........ (Ace ... of Diamonds)
3.  II - The High Priestess . (Jack .. of Diamonds)
4.  III - The Empress ....... (Queen . of Diamonds)
5. IV - The Emperor ........ (King .. of Diamonds)
@neonpixii
neonpixii / readme.md
Last active August 6, 2018 21:05
Coast Starlight timetables as CSV/spreadsheet files 🚂

Train 11 is the southbound train. Train 14 is the northbound train.

These are accurate as of 1 July, 12,018ʜᴇ

@neonpixii
neonpixii / decktet.json
Last active October 14, 2020 05:02
digital decktet: a computer-readable json version of p.d. magnus's alternative playing card deck, the decktet. this file includes cartomantic meanings. version 3 (now with card marks)
{
"version": 4,
"copyright": "The Decktet was designed and copyrighted by P.D. Magnus. It is offered as open content under a CC-BY-NC-SA 3.0 License. This json file was created by colleen quine, and it is also CC-BY-NC-SA 3.0.",
"basic": [
{
"rank": "Ace",
"suits": ["Moons"],
"marks": [],
"name": "the ACE of MOONS",
"meaning": "The suit of Moons represents wisdom. It is associated with mysteries, things hidden, and the inescapable truth that the world outstrips our knowledge."},
-- A cell is either on or off, and knows its
-- four cardinal neighbors directly.
-- state N W E S
data Cell = Edge | Cell Bool Cell Cell Cell Cell
-- nicely print life grids. takes a cell assumed
-- to be the top left cell of a grid & prints a
-- textual representation of the grid.
printLife :: Cell -> IO ()
printLife = let row Edge = putChar '\n'
@neonpixii
neonpixii / brainfuck.hs
Created February 14, 2018 23:55
brainfuck interpreter in haskell
import Data.Array
import Data.Char
type Brainfuck = (Int, String, Int, Array Int Int)
-- Contents of a Brainfuck tuple are:
-- * An Int, representing the position in the program
-- * A String, representing the program
-- * An Int, representing the index in memory
-- * An Array, representing the Memory.