replaced global game obj dep for @game instead