The QBasic / QB64 Discussion Forum      Other Subforums, Links and Downloads
 
Respond to this messageReturn to Index
Original Message
  • "You didn't exactly follow instructions"
    • (Premier Login iorr5t)
      Forum Owner
      Posted Jul 28, 2005 5:27 PM

      You got that message and wonder what it means? Here are the instructions which were found in NOTEPAD when you started the program:

      =======================================================
      QBasic Mac's SuDoku Cheater
      x = blank cells
      ----------------- Puzzle follows ---------
      Leave the first three lines unchanged except
      replace x with the character you use for blank cells

      Then replace all these instructions with your puzzle
      What you put here will be scanned and everything will
      be ignored except digits 1-9 and whatever you are using
      for blank cells.

      Required: exactly 81 hits which will be assumed to
      be your puzzle
      =======================================================
      Here is an example of someone following the instructions:

      =======================================================
      QBasic Mac's SuDoku Cheater
      - = blank cells
      ----------------- Puzzle follows ---------
      -5- --- -37
      --- 972 -85
      --- 8-- ---
      13- 2-- 549
      -7- 431 ---
      --8 --- ---
      -6- -1- --4
      7-9 --- -68
      --- -2- ---
      =======================================================

      Note we left the first three lines unchanged except we changed
      x = blank cells
      to
      - = blank cells
      (since our puzzle uses "-" for blanks.

      The following also would have been legal:

      =======================================================
      QBasic Mac's SuDoku Cheater
      * = blank cells
      ----------------- Puzzle follows ---------

       ====== ======= =======
      | *5*  |  ***  |  *37  |
      | ***  |  972  |  *85  |
      | ***  |  8**  |  ***  |
       ====== ======= =======
      | 13*  |  2**  |  549  |
      | *7*  |  431  |  ***  |
      | **8  |  ***  |  ***  |
       ====== ======= =======
      | *6*  |  *1*  |  **4  |
      | 7*9  |  ***  |  *68  |
      | ***  |  *2*  |  ***  |
       ====== ======= =======

      =======================================================

      Note that 1) "*" = blanks and 2) all other characters, which were presumably copied from some SuDoku site, are ignored. The only characters honored are *123456789 and there must be exactly 81 of them.

      Any deviation from the above is rejected.

      Mac
    Login Status
  • You are not logged in
    • Login
      Password
       

      Optional
      Provides additional benefits such as notifications, signatures, and user authentication.


      Create Account
    Your Name
    Your Email
    (Optional)
    Message Title
    Message Text
    Options Also send responses to my email address
          


    Newbies usually go to www.qbasic.com and click on The QBasic Forum
    Forum regulars have their own ways, which include The QBasic Community Forums