First pass at solving the second game