hash storage of player input functioning.