implemented singelton pattern for game class