Algorithms For Game-Theoretic Environments