Fix dependency injection command line game