make use of hash to represent the scenario when play vs. computer