Glove game (source code)

= Glove game
{title2=$v(S)=\omega\min(|S\cap L|,|S\cap R|)$}

Players each own one object of one of two complementary types. A matched pair sells for $\omega>0$, and objects of one type alone have no value. The <characteristic function of a coalitional game> is therefore the displayed matching count times pair price. The <core of a glove game> pays the scarce type the entire pair value and the abundant type zero; if type counts are equal, a common split between the two types can vary continuously.