minicraft code pulled from ludum dare.