This is the snooker game On Cue by Mastertronic Added Dimension for the Amstrad CPC464 and Sinclair ZX Spectrum home computer.