Game now ends properly