Added end conditions
Merge branch 'master' of https://github.com/NuXareon/2DGame