A model for coopetitive games