added functions

added in status for game functions to end level or game over