in reply to
Algorithm problem: Order matches by difference between players
Just realized, the problem is trivial in all cases if you allow N rounds for N players. Just skip the round where "your number" comes up.
For 6 Players in 6 rounds..
For 5 rounds, 5 players..
Don't know if this is exactly what the OP is looking for, but it reduces the tournament calculation to a count and lookup problem.