Tennis scoring library using the State pattern.