window.addEventListener('load', function() {
    var context = document.getElementById('display').getContext('2d');
    var display = new Display(context);
    //var game = new Snake(display);
    var video = new VideoGame(display, 'opencl.webm');
    var image = new ImageGame(display, 'Snake.png');
    var game = new ComposeGame(video, image);
    var controls = new Controls(game);
    game.run();
});

@@ -153,45 +153,8 @@
 t);%0A
-    //var game = new Snake(display);%0A
     
@@ -265,19 +265,20 @@
     var 
-gam
+titl
 e = new 
@@ -340,29 +340,238 @@
 ols(
-game);%0A    game.run()
+title);%0A    title.run();%0A    title.press = function() %7B%0A        title.stop();%0A        controls.remove(title);%0A        display.clear();%0A        var snake = new Snake(display);%0A        controls.add(snake);%0A        snake.run();%0A    %7D
 ;%0A%7D)

Make the title screen work.