Easy as ABC game implemented in PROLOG