> a function to find what is close to something (This is very doable) def close(something, other_things, distance): r = something.rect.inflate(distance, distance) return filter(lambda x: something.colliderect(x.rect), other_things)
There you go, that's the first one. ;-) There is some talk on the list of integrating networking already, so this is a good candidate for future inclusion.