implemented inference for game hmms