Stable local version, need to add code for game states in order to resolve click count issue