Pong in < 250 lines of JS! May 27, 2016 This is a crude example of a playable game that can be expressed in less than 250 lines of code! Demo Code 1<!DOCTYPE html> 2<html> 3<body> 4 <canvas id="game"> </canvas> 5 <script type="text/javascript"> 6 var game = (function() { 7 var Width = 800, Height = 450; 8 var canvas = document.getElementById("game"); 9 var FPS = 1000 / 60; 10 canvas.width = Width; 11 canvas.height = Height; 12 canvas.setAttribute('tabindex', 1); 13 var ctx = canvas. ...
Reroku (Heroku on a Raspberry Pi) Mar 01, 2016 My team recently switched our applications from Heroku to barebones AWS. The experience made me truely appreciate just how effective Heroku is and how it has made deploying apps as painfree as could be. After all, what good is making an app if nobody can see it! I’ve also been a huge fan of my Raspberry Pi. Every time I look at it, I feel challenged to think of a cool use for it. ...