Initialize prev_text
Factor out clock logic into a class
Convert Player to a class, move its logic there