Skip to content

Instantly share code, notes, and snippets.

View polm's full-sized avatar

Paul O'Leary McCann polm

View GitHub Profile
@polm
polm / life.sh
Created February 25, 2014 13:54 — forked from anonymous/life.sh
#!/bin/bash
GENS=50
WIDTH=12
HEIGHT=12
declare -a OLD
declare -a NEW
OLD=( \
spawn frob -i plain bone.t3
send "\n\n\n\n\n\n\n\n\n\n"
while {1} {
expect {
"More" {send "\n"}
default break
}
}
@polm
polm / items.txt
Last active August 29, 2015 14:02
Red Dragon Item Generator Second Draft
厄介な後ろの不穏な剣
瞳いとこの敏感な石
豪勢な脅威の一連釣り合い
妙な背後の単純な杯
ハードな軍師の速いバット
自国自分の小説小説
濃密な貴族の静かな空白
得意な兄さんのめざとい前世
細かい母のすい通り
陰鬱な軍人の美味な尻尾
@polm
polm / galaxyangel
Last active August 29, 2015 14:02
Generated Arcana take 1
The Useful Compatriot Helper, representing the Bite
The Dangerous Physician Waitress, representing the Perfect
The Perfect Compatriot Guerrilla, representing the Song
The Adorable President Grandfather, representing the Told
The Planet-destroying Longer Client, representing the Sad
The Centennial Daughter President, representing the Extraordinary
The Late-night Contractor Rogue, representing the Other
The Desperate Winner Contractor, representing the Historical
The Free Captain Rogue, representing the Whole
The Short-lived Winner Prince, representing the Previous

Following is a translation of a post by Kenta Cho (@abagames) about what he learned making 50 minigames in 2014. The original post is here:

http://d.hatena.ne.jp/ABA/20141223#p1

This translation is by Paul McCann (@polm23); please feel free to contact me with any comments or corrections.

The Secret to Creating Fun Games I Learned By Making 50 Games in a Year

... is that there isn't one.

@polm
polm / bingo.p8
Created April 19, 2015 16:24
ld48 #32 entry, written in pico8
pico-8 cartridge // http://www.pico-8.com
version 4
__lua__
-- ultra magic bingo quest world
-- ld48 #32 - by 23
-- rules
-- try to make bingo to hurt
-- your opponent
-- but don't fill the dead pile!
@polm
polm / bingo.p8.cleaned
Created May 19, 2015 15:51
Bingo comparison: with STATE and with driver function
pico-8 cartridge // http://www.pico-8.com
version 4
__lua__
-- version without "state" string
-- ultra magic bingo quest world
-- ld48 #32 - by 23
-- rules
-- try to make bingo to hurt
-- your opponent
@polm
polm / gradientify.sh
Created August 21, 2015 04:17
Scripts for making photos in to lofi pixel art
#!/bin/bash
# based on cellusion's photoshop method
convert "$1" -resize 256x1000 -colorspace Gray -auto-level \
gradient.png -clut -scale 1000x1000 -posterize 6 "$1".out.png
import cv2
import numpy as np
import sys
import math
"""
This finds quadrilateral objects, cuts them out, squares them, and fixes skew.
It works but has strict limitations:

Etrian Odyssey Director's Diary

These notes were blog posts written by the director of the first Etrian Odyssey Game, Kazuya Niinou, leading up to its release. They were originally images embedded in a Flash page, so I took the liberty of typing them up and posting them here. The Japanese source for these articles is no longer available on the official Etrian Odyssey page, but you can find it on archive.org.