Add conditions for winning and losing game