pack snooker into a class for reuse.