cat and mouse game programming