Basic puzzle board connected to arduino

This kind of thing

make your own little board with 5 of them on it.
Maybe arrange in a square with 1 in the middle so puzzle piece orientation wo't matter.