Code examples for my Writing Games with Ruby presentation at LA Ruby Conference 2014