added end game check in GameState and Map
Merge branch 'master' of https://github.com/dWarf-In-thE-FlaSk/Proj_361
end game change