IDEAS home Printed from https://ideas.repec.org/a/gam/jgames/v11y2020i2p19-d344780.html
   My bibliography  Save this article

The Exact Query Complexity of Yes-No Permutation Mastermind

Author

Listed:
  • Mourad El Ouali

    (Polydisciplinary Faculty Ouarzazate, University Ibn Zohr, Agadir 80000, Morocco)

  • Volkmar Sauerland

    (Department of Mathematics, Kiel University, 24118 Kiel, Germany)

Abstract

Mastermind is famous two-player game. The first player ( codemaker ) chooses a secret code which the second player ( codebreaker ) is supposed to crack within a minimum number of code guesses (queries). Therefore, the codemaker’s duty is to help the codebreaker by providing a well-defined error measure between the secret code and the guessed code after each query. We consider a variant, called Yes-No AB-Mastermind, where both secret code and queries must be repetition-free and the provided information by the codemaker only indicates if a query contains any correct position at all. For this Mastermind version with n positions and k ≥ n colors and ℓ : = k + 1 − n , we prove a lower bound of ∑ j = ℓ k log 2 j and an upper bound of n log 2 n + k on the number of queries necessary to break the secret code. For the important case k = n , where both secret code and queries represent permutations, our results imply an exact asymptotic complexity of Θ ( n log n ) queries.

Suggested Citation

  • Mourad El Ouali & Volkmar Sauerland, 2020. "The Exact Query Complexity of Yes-No Permutation Mastermind," Games, MDPI, vol. 11(2), pages 1-11, April.
  • Handle: RePEc:gam:jgames:v:11:y:2020:i:2:p:19-:d:344780
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2073-4336/11/2/19/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2073-4336/11/2/19/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Mourad El Ouali & Christian Glazik & Volkmar Sauerland & Anand Srivastav, 2018. "On the Query Complexity of Black-Peg AB-Mastermind," Games, MDPI, vol. 9(1), pages 1-12, January.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.

      Corrections

      All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jgames:v:11:y:2020:i:2:p:19-:d:344780. See general information about how to correct material in RePEc.

      If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

      If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

      If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

      For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

      Please note that corrections may take a couple of weeks to filter through the various RePEc services.

      IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.