Implemented Game running in a Thread