Old snooker JS game I created