renamed a few variables to be more descriptive and fixed a bug where the game didn't reset if the result was a cat's game