implemented State in Game and Global