Bulldogs pull out win in basketball opener