CypherPoker.JS is an open source implementation of peer to peer cryptographic poker, or Mental Poker, written in JavaScript.
It makes extensive use of cutting-edge browser technologies and desktop (Node.js / Electron) runtime environments.
CypherPoker.JS is written by the same author as the original ActionScript CypherPoker project and employs many of the same features including the SRA cryptosystem and game / peer protocols as described in the original wiki.
The CypherPoker.JS wiki is a good place to get started with the code.
Further (code) documentation can be found here:
Browser (client): https://monicanagent.github.io/cypherpoker.js/web/0.0.1/
Node.js (server): https://monicanagent.github.io/cypherpoker.js/server/0.0.1/