 	canvas.width = canvasEdgeX
 	canvas.height = canvasEdgeY
 
+############################################################
 # game loop control
-
-# loopId = => setInterval (
-# 	gameLoop
-# ), INTERVAL 
-# Can't seem to get a handle to clearInterval with using CoffeeScript
 
 startLoop = () -> 
 	console.log("startLoop runs")

	startLoop() if levelOver == false #prevents duplicate loops
	levelOver = false
	currentLevel = levelName
	
#game levels

gameLoop = () -> 

		levelOver = true if gameLoopCounter >= 3
		endGame() if levelOver == true

############################################################
# drawing functions 

draw = () ->
	console.log("draw runs")

############################################################
# start game on jQuery document.ready 

jQuery -> 
	setSizes()
	addMenus()


