// Game objects var player = { direction: LEFT, speed: 100, sprite: 0 } var enemies = []; var dots = []; var blocks = []; var background = [];