I love solve this problem, is such an interesting point were trust and cryptography comes in place.
I even try to build a prototype my self for p2p poker. I don't have anymore the code to share.
Anyway I will also recommend this video about it: https://www.youtube.com/watch?v=mthPiiCS24A