Tripartite Evolutionary Game Model