Journal of Applied Sciences ›› 2020, Vol. 38 ›› Issue (1): 81-92.doi: 10.3969/j.issn.0255-8297.2020.01.006

• Blockchain • Previous Articles     Next Articles

Credible Depository Chain System of Card Games

YUAN Chenjuan, SUN Guozi, LI Huakang, WANG Jitao   

  1. School of Computer Science, Nanjing University of Posts and Telecomunications, Nanjing 210023, China
  • Received:2019-10-30 Online:2020-01-31 Published:2020-01-19

Abstract: At present, the trust problem of chess and card games on the market has not been solved with effective methods, and phenomena of cheating such as plug-ins are endless. Therefore, based on the characteristics of decentralization and tamper resistance of the current blockchain, we propose a card game anti-cheat method. This method uses the API to access the player's card information and applies the Huffman Merkle Hash tree (HuffMHT) algorithm to compress card information which is then encrypted by various encryption algorithms. At last, a smart contract is written to anchor the encrypted information on the blockchain. In the proposal, everyone has the access to compare the licensing information on the blockchain with the final complete card information to find out if they are cheating. Experimental results show that the proposed method is capable of solving the trust problem of card games effectively and enables a safe card game environment.

Key words: card games, blockchain, HuffMHT, encryption algorithm, smart contract

CLC Number: