win logic functional. need to add cat's game and end game functionality.