Toward a theory of hypergames