TP: Distributed Optimization and Games