Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Rules  





2 Variants  





3 History  





4 Solution methods  





5 See also  





6 References  





7 External links  














Masyu






Deutsch
Français
Frysk
Italiano
עברית
Nederlands

Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Sample puzzle
Solution to above puzzle

Masyu (ましゅ, Mashu, IPA [maɕu͍];) is a type of logic puzzle designed and published by Nikoli. The purpose of its creation was to present a puzzle that uses no numbers or letters and yet retains depth and aesthetics.

Rules[edit]

Masyu is played on a rectangular grid of squares, some of which contain circles; each circle is either "white" (empty) or "black" (filled). The goal is to draw a single continuous non-intersecting loop that properly passes through all circled cells. The loop must "enter" each cell it passes through from the center of one of its four sides and "exit" from a different side; all turns are therefore 90 degrees.[1]

The two varieties of circle have differing requirements for how the loop must pass through them:

Variants[edit]

History[edit]

The early version of Masyu first appeared in Puzzle Communication Nikoli #84 under the title of Shinju no Kubikazari (真珠の首飾り, meaning "pearl necklace"). That puzzle contains only white circles. Black circles were introduced in Puzzle Communication Nikoli #90, and the puzzle was renamed Shiroshinju Kuroshinju (白真珠黒真珠, meaning "white pearls and black pearls"). This improvement deepened the puzzle and made it gain popularity. Masyu, which is originally a misreading by Nikoli's president of kanji 真珠 (shinju)[citation needed], and apparently became an inside joke at the Nikoli office, was adopted in Puzzle Communication Nikoli #103 to replace the old lengthy name.

Solution methods[edit]

Understanding the nuances of the circles and how they interact with each other is the key to solving a Masyu puzzle. Generally speaking, it is easiest to start along the outside border of the grid and work inwards. Here are some basic scenarios where portions of the loop can be determined:

As in other loop-construction puzzles, "short circuits" also need to be avoided: as the solution must consist of a single loop, any segment that would close a loop is forbidden unless it immediately yields the solution to the entire puzzle.

Like many other combinatory and logic puzzles, Masyu can be very difficult to solve; solving Masyu on arbitrarily large grids is an NP-complete problem.[2] However, published instances of puzzles have generally been constructed in such a way that they can be solved in a reasonable amount of time.

See also[edit]

References[edit]

  1. ^ Knuth, Donald (2011), "Nikoli puzzle favors", Selected Papers on Fun & Games, CSLI Publications, pp. 473–476.
  • ^ Friedman, Erich (2012-03-27). "Pearl Puzzles are NP-complete". Archived from the original on 2012-02-04.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Masyu&oldid=1224550535"

    Categories: 
    Logic puzzles
    NP-complete problems
    Hidden categories: 
    Articles containing Japanese-language text
    All articles with unsourced statements
    Articles with unsourced statements from November 2021
     



    This page was last edited on 19 May 2024, at 01:18 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki