added a simple layer for game over and fixed missing semicolons