Skip to content

Instantly share code, notes, and snippets.

View eigenbom's full-sized avatar

Benjamin Porter eigenbom

View GitHub Profile

a b s u r d _ s p a c e

thoughts about game engine minimalism

by Ben Porter

the machine

The absurd machine is an abstract video game machine with a minimal API:

@eigenbom
eigenbom / profile.ps1
Created April 25, 2020 04:27
show generated place names for each folder
function prompt {
function get-rand($min, $max){
Get-Random -SetSeed $(Get-Location).Path.GetHashCode() -Minimum $min -Maximum $max
}
$moods = "abroad", "acute", "admired", "adult", "adverse", "advised", "aerosol", "afraid", "aligned", "alleged", "almond", "alright", "ambient", "amiable", "amino", "amused", "angelic", "angrier", "archer", "aroused", "avocado", "awake", "awsome", "balding", "banded", "banned", "battle", "beaten", "bellied", "belted", "betting", "biggest", "bipolar", "blame", "blessed", "bloat", "blocked", "blooded", "bolder", "bonnie", "bored", "bounded", "brazen", "bridged", "broiled", "broker", "bronze", "buffy", "bullied", "burial", "buttery", "candied", "casual", "causal", "chapel", "cheeky", "civic", "civil", "cleric", "colour", "combat", "comely", "confuse", "convex", "cooked", "cosmic", "cover", "crash", "crypto", "dandy", "dashing", "dazzled", "defaced", "deluded", "depress", "deviant", "devoted", "dirtier", "doable", "doing", "dotted", "dozen", "draught", "dread"

Keybase proof

I hereby claim:

  • I am eigenbom on github.
  • I am benporter (https://keybase.io/benporter) on keybase.
  • I have a public key ASA_kvp6w_5yL9OhO3T5HUlaXieh3dMT7mjjH0lZ4cfPjAo

To claim this, I am signing this object:

@eigenbom
eigenbom / 0x934FE9D322A0c956280E268746f9F825c4999D02
Created October 7, 2017 08:24
0x934FE9D322A0c956280E268746f9F825c4999D02
0x934FE9D322A0c956280E268746f9F825c4999D02
@eigenbom
eigenbom / random_science_or_math.html
Last active December 28, 2015 07:19
A simple homepage that redirects to a random Wikipedia article in science and mathematics. (166167 articles.)
This file has been truncated, but you can view the full file.
<html><head><title>Random Applied Science or Mathematics Article</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript">
(function(){
var pages = ["https://en.wikipedia.org/wiki/Mandibular_foramen"
, "https://en.wikipedia.org/wiki/Vaccination_and_religion"
, "https://en.wikipedia.org/wiki/Christ_Community_Church"
, "https://en.wikipedia.org/wiki/Pferdestaerke"
, "https://en.wikipedia.org/wiki/Goal_node_%28computer_science%29"
@eigenbom
eigenbom / fbothing.cpp
Created December 8, 2015 21:48
A single-context Framebuffer render target for SFML
// NB: Requires some changes to the SFML headers to make some parts public
////////////// HEADER
// A single-context Framebuffer render target
// A lighter version of sf::RenderTexture
// NB: MUST call SetContextOwner before create()
class FBOTargetImpl : public sf::RenderTarget {
public:
FBOTargetImpl();
@eigenbom
eigenbom / items.txt
Created July 31, 2015 08:47
Random items by @eigenbom
mace of smashing STR 2 SPD 2 STY BIG DUR 3/3 SMS 5
pnkllr's firm rapier of harvesting STR 5 SPD 2 STY BIG DUR 1/4 CHP 3 HRV 2
rdo b lima junior's massive sluggish branch STR 5 SPD 1 STY STF DUR 2/3
ryosuke mihara's fast shears of mining STR 2 SPD 5 STY BIG DUR 3/3 ORE 5 HRV 3
vicen's noisy staff STR 3 SPD 2 STY STF DUR 2/5
victor eiko 's delicate firm staff of courage [broken] STR 5 SPD 4 STY STF DUR 0/1
~ n's noisy fine able agile sweeper of smashing STR 5 SPD 5 STY NRM DUR 1/1 SMS 4 FIN 3
!!!john cena meme!!!'s fine flimsy quick hammer of cleaning STR 1 SPD 5 STY BIG DUR 1/1 SMS 5 FIN 4
sweeper of cleaning