Replication teacher's (alexmakers) code for basic table tennis scorer