     context.fillStyle = "#ffffff"
     context.font = "30px Arial"
     context.fillText "Score: #{Math.floor(@score)}", 0, 30
-    if @hadGameOver
+    if @had_game_over
       context.fillText "GAME OVER", @engine.size.x / 2, @engine.size.y / 2
       context.font = "18px Arial"
       context.fillText "space to restart", \


    return
  gameOver: ->
    if @hadGameOver
      return
    @hadGameOver = true

  draw: (context) =>
    context.fillStyle = '#000000'


class Game
  constructor: (@engine) ->
    @had_game_over = false
    @stars = []
    @meteors = []
    @batch = new Batch()
