Rework - allows for arbitrary function and vars
added player names to 'You Win' messages