as Game not extends Entity class, it can't be the parent of an entity. It was giving the error when compiling to web