a somewhat generic prob fn

and a pretty dumb smarty player.