Automata and Inner States for Repeated Games