Invia SMS: Optimal solution strategy for games