Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'squares': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'solution,': 0.09; 'books': 0.15; 'choice).': 0.16; 'clear.': 0.16; 'left,': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'thu,': 0.19; 'putting': 0.22; 'example.': 0.24; 'url:home': 0.24; "i've": 0.25; 'player': 0.26; 'header:X-Complaints-To:1': 0.27; 'chris': 0.29; 'cells': 0.31; 'formed': 0.31; 'purely': 0.31; 'but': 0.35; 'skip:> 10': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'should': 0.36; 'two': 0.37; 'being': 0.38; 'solving': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'solve': 0.60; 'ago,': 0.61; 'first': 0.61; 'kind': 0.63; 'such': 0.63; 'became': 0.64; 'mar': 0.68; '2015': 0.84; 'square,': 0.84; 'whereas': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Sudoku solver Date: Thu, 26 Mar 2015 20:42:32 -0400 Organization: IISS Elusive Unicorn References: <87r3sdnw5t.fsf@elektro.pacujo.net> <87fv8sndw1.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-73-117-19.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427416959 news.xs4all.nl 2903 [2001:888:2000:d::a6]:34418 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:88114 On Thu, 26 Mar 2015 23:37:10 +1100, Chris Angelico declaimed the following: > >Nothing. And solving a Sudoku puzzle - or any other puzzle - should >require no guessing. It should be possible to solve purely by logic. >Same goes for every other kind of puzzle out there; it's highly >unsatisfying to play Minesweeper and get to the end with a block of >four squares in a corner, two mines left, and no way of knowing which >diagonal has the mines and which is clear. > I've encountered (a few years ago, when Sudoku became popular) some puzzles in books that were like your Minesweeper example. The difference being that either "diagonal" produced a valid solution, whereas Minesweeper was "ask the Fates to be kind" (and the reason the original M$ Minesweeper never "died" on the first move -- the mines weren't placed until the player made the first choice). These were Sudoku puzzles where the last four empty cells formed a square, such that putting X on one diagonal and Y on the other diagonal formed a valid solution... But so did swapping the X/Y diagonals. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/