Changed object scope and added Game Over