arXiv:2609.02716cs.CRSep 2026

Manuscript Offprint

arXiv:2609.02716

Card-Based Computation in the Virtual Player Simulation Model

Suthee Ruangwises

Abstract

Player simulation has recently emerged as a new direction in card-based cryptography, with protocols developed for simulating virtual players in physical card games such as Old Maid, UNO, and President. Unlike conventional card-based secure computation, player simulation imposes additional constraints: the cards represent a persistent game state, the remaining cards in a virtual player's hand must be preserved after each action, and it is desirable to represent each card in the game by a single physical card. In this paper, we study generic card-based computation in the virtual player simulation model. We focus on games whose cards admit a publicly known ranking and propose two fundamental protocols. First, we present the Play-Minimum protocol, which securely selects and plays the minimum-value card from a virtual player's hand when all cards in the deck have distinct values. By symmetry, the protocol can also be used to play the maximum-value card. Second, we present the Sorting protocol, which securely arranges a virtual player's hand in nondecreasing order and remains applicable when multiple cards have the same value. These protocols provide generic computational primitives independent of any particular card game and constitute a step toward understanding the computational capabilities of the virtual player simulation model.

Keywords: card-based cryptography, player simulation, secure computation, sorting, card game

1 Introduction

Card-based cryptography studies cryptographic protocols that are implemented using a physical deck of playing cards. In such protocols, the faces of cards encode secret information, while physical operations such as shuffling, rearranging, and turning over cards are used to perform computation. A key advantage of card-based protocols is that they can be executed without computers or other electronic devices. Moreover, because every operation can be directly observed by the participants, the correctness of a protocol can be verified through simple physical actions rather than relying on the implementation of cryptographic software. These properties make card-based protocols suitable for situations where computation must be performed in a transparent and intuitive manner using only physical objects. Historically, research on card-based cryptography has developed along two primary directions:

*suthee@cp.eng.chula.ac.th secure multi-party computation and zero-knowledge proofs. Recently, player simulation has emerged as a potential third direction, motivated by the problem of securely simulating virtual players in physical card games.

Secure Multi-Party Computation. One major direction of card-based cryptography concerns secure multi-party computation, where multiple parties jointly compute a function of their private inputs without revealing the inputs themselves. Protocols have been proposed for various Boolean functions, including logical AND [6, 8], logical XOR [8], the majority function [10, 21], and the equality function [14]. Beyond individual functions, Nishida et al. [9] constructed a protocol that can compute any Boolean function of nn variables using 2n+62n+6 cards. Later, Shinagawa and Nuida [19] showed that any Boolean function can be computed using only a single shuffle.

Zero-Knowledge Proof. Another major direction concerns card-based zero-knowledge proofs, in which a prover demonstrates to a verifier that they know a solution to a given problem without revealing the solution itself [1]. Such protocols have been proposed for computational problems such as graph isomorphism [4] and pancake sorting [3], as well as for pencil puzzles such as Sudoku [11, 16, 20] and Nonogram [12]. Card-based zero-knowledge proofs have also recently been extended to mobile puzzle games, such as Ball Sort Puzzle [13].