Communication between arduinos over 4 interchangeable pins

This may give you some ideas... Dice Game