mainLibTMCG - Summary

Membership Info
Project Admin:
2 active members

Group identification
Id: #7256
System Name: libtmcg
Name: LibTMCG
Group Type: non-GNU software and documentation

Search in this Group


This project is not part of the GNU Project.

LibTMCG is a C++ library for creating secure and fair online card games. The library contains a sort of useful classes, algorithms, and high-level protocols to support an application programmer in writing such software.

The most remarkable feature is the absence of a trusted third party, i.e., neither a central game server nor trusted hardware components are necessary. Thus, it is well-suited for peer-to-peer (P2P) environments.

The implementation is based primarily on two academic research papers:
First, Christian Schindelhauer, A Toolbox for Mental Card Games, Technical Report A-98-14, University of L├╝beck, 1998, and second, Adam Barnett, Nigel P. Smart, Mental Poker Revisited, Cryptography and Coding 2003, Lecture Notes in Computer Science 2898, pages 370-383, 2003.

Of course, we cannot avoid that malicious players share information about their private cards, but the protocols ensure that the shuffle of the deck is performed randomly (presumed that at least one player is honest) and thus the cards will be distributed uniformly among the players. Further, no coalition can learn the private cards of a player against his will (except for trivial conclusions). The corresponding cryptographic problem, actually called ``Mental Poker'', has been studied since 1979 (Shamir, Rivest, and Adleman) by many authors. LibTMCG provides the first practical implementation of such protocols.

The security and the verifiability rely on advanced cryptographic techniques---the so-called zero-knowledge proofs. Using these `building blocks' the high-level protocols minimize the effect of coalitions and preserve the confidentiality of the players' strategy, i.e., the players are not required to reveal their cards at the end of the game to show that they did not cheat. This important property is often required in card games like Poker.

Registration Date: Sat 22 Jan 2005 04:38:29 PM UTC
License: GNU General Public License v2 or later
Development Status: 5 - Production/Stable


Latest News 
LibTMCG 1.1.3 released
     posted by stamer, Fri 25 Dec 2015 08:56:47 PM UTC - 0 replies

We have just released LibTMCG 1.1.3. It contains new classes and methods for the so-called VRHE scheme, i.e. an efficient zero-knowledge argument for verifiable rotations (cyclic shuffle) whenever the VTMF card encoding is used. A test program ist also included.

Our source code repository moved to git
     posted by stamer, Tue 21 Jul 2015 10:47:32 PM UTC - 0 replies

The project has moved it's master source code repository from CVS to git. You can clone the repository by the following line:

git clone git://

LibTMCG 1.1.2 released
     posted by stamer, Fri 07 Aug 2009 06:48:40 AM UTC - 0 replies

This is a bugfix release created in order to deal with C++ namespace changes of GCC 4.3.x. No new features have been added.

RPM packages available
     posted by stamer, Sat 12 May 2007 10:37:28 AM UTC - 0 replies

Toni Graffy (PackMan team) has kindly provided RPM packages for SuSE Linux 10.0, 10.1, and openSuSE 10.2. The packages are available on and in the PackMan repository as well.

[Submit News]
[9 news in archive]

Back to the top

Powered by Savane 3.1-cleanup