Create a statistics calculator for a connected foosball table.