Libtmcg

Jul 20, 2023

C++ library for creating secure and fair online card games

LibTMCG is a C++ library for creating secure and fair online card games. The library provides 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 TTP, i.e. neither a central game server nor trusted hardware components are necessary. Thus, with the present library there is no need for an independent referee, because the applied protocols provide a basic level of confidentiality and fairness by itself. Consequently, the library is well-suited for peer-to-peer P2P environments where no TTP is available. 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.



Checkout these related ports:
  • Ztrack - Simple ncurses based pseudo-3D driving game
  • Zoom - Z-Interpreter for X with full V6 support
  • Zhlt - Zoner's Half-Life compile tools
  • Zephulor - Side scrolling arcade game
  • Zdoom - Source port for Doom-engine games
  • Zaz - Puzzle game where the player has to arrange balls in triplets
  • Zatacka - Nibbles-like multiplayer game
  • Zangband - Zangband (Zelazny Angband) with color, X11 support
  • Yquake2 - Improved version of Icculus Quake II
  • Yahtzee - Curses version of the dice game for one or more players
  • Yadex - WAD file editor, for games like Doom and Heretic
  • Xzip - Infocom game interpreter that runs under X11
  • Xye - Puzzle games like sokoban or boulderdash
  • Xworm - Classic game with apples and hungry worm
  • Xvmines - Simple minesweeper game for X Window System