updated methods getgamestate() and activate() in AbstractController