遊客:  註冊 | 登錄 | 幫助





標題: [求助] Sudoku
lhy     Rank: 3
青出藍
性別 男
UID 14043

精華 0
帖子 121
積分 330   詳情

閱讀權限 40
註冊 2006-10-16
來自 Netherlands
狀態 離線

 
 
 
 
發表於 2007-4-29 02:15 AM  資料  個人空間  短訊  加為好友 
Sudoku

Does any one have experience in programming sudoku? I need a sudoku generator not a solver.

What I have in mind is the following:

1. Make a 9x9 grid
2. fill in the grid
3. remove x numbers from the grid

The problem is really at the third step. How can I remove numbers while the puzzle is still solvable (with human logic)?

頂部

mickeyGoUp     Rank: 7Rank: 7Rank: 7
版主
性別 男
UID 5

精華 0
帖子 35511
積分 5235   詳情

閱讀權限 150
註冊 2006-3-24
來自 美國滴滴尼
狀態 離線

 
 
 
 
發表於 2007-4-30 10:27 AM  資料  個人空間  短訊  加為好友 
Hi lhy, I really liked to discuss with u on this, but I have been quite busy lately.  Hopefully it will be over by the end of May.

I have once thought about write some codes to generate sudoku puzzles since my girl loves sudoku.  I have googled it and found some people talking about it.  Apparently they already have some algorithms to do it so we don't have to start from scratch.  But I did not have time to dig into it.

Thanks for starting this thread.  Just like to let you know that I am interested!  Hopefully others are too, and will start some discussions!    I will join in later when I have more time!

頂部



快速美言
           


當前時區 GMT+8, 現在時間是 2024-5-8 03:03 AM

    Powered by Discuz!  © 2001-2007 Comsenz Inc.   
Processed in 0.010778 second(s), 7 queries

清除 Cookies - 聯繫我們 - LIPS Corner 新天藍 - Archiver