public GameTask(TbGameSpec spec, PlayerSpec[] playerSpecs) { _playerSpecs = playerSpecs; _spec = spec; _playerNames = playerSpecs.Select(ps => ps.PlayerName).ToArray(); }
public AsyncCpuPlayer(AsyncPlayer <TbVisible, TbAction> p, TbGameSpec spec) { _policy = TbAiPlayerModule.createPolicy(spec, p.Name).Invoke; _p = p; }