Added the solution for a terrible game.